EvolutionCourse Hub
← Dictionary
One-hot encoding

Also: dummy variables, get_dummies

Data quality and preparation

Turning a category into several 0/1 columns, one per value, so a model can use it without inventing an order.

ExampleContract becomes Contract_One year and Contract_Two year; month-to-month is the row with both zeros.

Taught inS0RelatedFeatureS0