Updated Machine Learning Templates for Python

As I work on practicing and solving machine learning (ML) problems, I find myself repeating a set of steps and activities repeatedly.

Thanks to Dr. Jason Brownlee’s suggestions on creating a machine learning template, I have pulled together a set of project templates that can be used to support regression ML problems using Python.

Version 7 of the templates contain minor adjustments and corrections to the prevision version of the templates. Also, the new templates added sample code to support the following data cleaning and transformation tasks:

  • One-Hot-Encoding for categorical variables
  • Feature Selection via Collinear Features Removal, Attribute Importance Ranking, and Recursive Feature Elimination (RFE)
  • Improve unbalanced datasets via Synthetic Minority Over-sampling Technique (SMOTE)

You will find the Python templates from the Machine Learning Project Templates page.