Python Deep Learning Template v1 for Binary Classification

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 project template that can be used to support modeling binary classification problems using Python and the Kera framework.

Version 1 of the deep learning template is the first iteration and contains sample code segments for:

  • Preparing the deep learning modeling environment with a TensorFlow backend
  • Loading the data
  • Defining the Keras model
  • Compiling the model
  • Fitting the model on the dataset
  • Evaluating the model
  • Finalizing the model and making predictions

You will find the Python deep learning template on the Machine Learning Project Templates page.