This website uses cookies to ensure you get the best experience.
Learn more.
A nominal category has no meaningful order. Which encoding is generally safer than assigning arbitrary increasing integers to a linear model?
Published
- The average target from the full dataset including test labels
- Integers chosen by alphabetical order without evaluating their effect
- One-hot encoding with a planned unseen-category policy
- A random new code for each inference call
Comments — 0
Sign in to comment