Concept

sklearn.preprocessing.LabelEncoder

Scikit-learn enables allows for the transformation of categorical data into quantitative data which can be used in machine learning model training. However, an important thing to note about LabelEncoder is that it will transform your categorical data into ordinal numbers which may cause your model interpret do believe there are relationships between unrelated categories.

0

1

Updated 2020-10-19

Tags

Data Science