One Hot Encoding

Different types of Encoding

Encoding is a technique of converting categorical variables into numerical values so that it could be easily fitted to a machine learning model. Before getting into the details, let’s understand about the different types of categorical variables. Nominal categorical variable: Nominal categorical variables are those for which we do not have to worry about the…Read more

Categorical Encoding using One-Hot Encoding

Handling Categorical Data – One-Hot Encoding In label encoding, categorical data is converted to numerical data, and the values are assigned labels (such as 1, 2, and 3). But there is a flaw here, Predictive models that use this numerical data for analysis might sometimes mistake these labels for some kind of order (for example,…Read more