A helper to automate common tasks in a Machine Learning pipeline