Introduction
In the previous chapter, we discussed some applications of machine learning and even built models with the scikit-learn Python package. The previous chapter covered how to preprocess real-world datasets so that they can be used for modeling. To do this, we converted all the variables into numerical data types and converted categorical
variables into dummy
variables. We used the logistic regression
algorithm to classify users of a website by their purchase intention from the online shoppers purchasing intention
dataset. We advanced our model-building skills by adding regularization
to the dataset to improve the performance of our models.
In this chapter, we will continue learning how to build machine learning models and extend our knowledge so that we can build an Artificial Neural Network
(ANN
) with the Keras package. (Remember that ANNs
represent a large class of machine learning algorithms that are so-called because their architecture resembles the neurons in the...