EvolutionCourse Hub
← Dictionary
Unseen category

Also: handle_unknown

Data quality and preparation

A category value that appears in new data but never in training. The pipeline must decide what to do with it instead of crashing.

ExampleA new payment method “Crypto wallet” arrives; OneHotEncoder(handle_unknown='ignore') simply leaves all its columns at 0.