What is the effect of applying one-hot encoding to a high-cardinality categorical feature in a linear model?
Key points
- High cardinality leads to high dimensionality
- Sparsity increases model variance
- Dummy variable trap requires dropping one column
Ready to go further?
