...

/

Ordered label encoding

Ordered label encoding

During this lesson, we will talk about an encoding technique used for categorical variables called ordered label encoding, its advantages and limitations, an example that illustrates the results after using ordered label encoding, and some code lines to help you implement this method.

Definition

Ordered label categories replace categories with integers from 1 to n, where n represents the cardinality. However, ...

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy