Computer scienceData scienceInstrumentsPandasData preprocessing with pandas

Preprocessing categorical features with pandas

Encoding techniques

Report a typo

Match the encoding technique with its description.

Match the items from left and right columns
One-hot encoding
Frequency encoding
Ordinal encoding
Target encoding
Automatically assigns unique integer codes to categories based on the order of their appearance.
Creates binary features for each unique category, resulting in 0 or 1 values.
Replaces each category with its frequency of occurrence in the dataset.
Maps each category to its mean target value based on the target variable.

Create a free account to access the full topic