Data Transformation, Sklearn, Machine Learning, One Hot Encoding, Label Encoding.
variables to assume a natural ordering, thus resulting in poor performance. Advantages One-hot encoding is particularly used in those cases where there is no ordinal relationship between the labels. Exaplanation In this case, One Hot encoder should be used to treat our categorical variables. It