Categorical Features Encoding in Machine Learning| Feature Encoding Tutorial 1

Published: 20 March 2021
on channel: Atul Patel
3,118
31

During the Feature Encoding in Machine Learning Training pipeline we encode the categorical features into numbers.
We can generally divide the categorical variables(features) into 3 types:
1. Binary:
(Yes, No) , (True, False)
2. Ordinal: Specific ordered Groups.
economic status (“low income”,”middle income”,”high income”),
education level (“high school”,”BS”,”MS”,”PhD”),
income level (“less than 50K”, “50K-100K”, “over 100K”)
3. Nominal : Unordered Groups.
(cat, dog, tiger),(pizza, burger, coke)

In this video I explained how we can encode the binary features.

#LabelEncoder #OrdinalEncoder
#FeatureEncoding #FeatureEngineering #FeatureTransformation #DataScience #MachineLearning #CategoricalEncoding

Python Notebook link : https://github.com/atulpatelDS/Youtub...



#FeatureEncoding #FeatureEngineering #FeatureTransformation #DataScience #MachineLearning