In this machine learning tutorial we learn about One-Hot-Encoding, which is one of the ways to represent categorical variables.
After using a One-Hot-Encoder to encode our data in the previous tutorial, in this tutorial we’re training a machine learning algorithm in scikit-learn on it. First we separate the features from the labels, then we train a LogisticRegression classifier on the data.
Machine Learning FB group:
Support these educational videos:
1. Prateek Joshi: Artificial Intelligence with Python –
2. Aurelien Geron: Hands-On Machine Learning with Scikit-Learn and TensorFlow:
3. Andreas Müller and Sarah Guido ML book: