FEATURE-ENGINEERING5 MIN READ
Encode high-cardinality categories safely
Pick an encoding strategy for high-cardinality categorical features without target leakage.
Leila is preparing merchant_id for a payment-risk classifier with a long tail, new merchants every week, and a fraud review that will ask exactly how the encoding is fit.
Read the full lesson
Sign up free — one personalized lesson every day, matched to your role and goals.
Already have an account? Sign in