Skip to content

Glossary: ML Beyond the Basics

High-cardinality

Also written: high cardinality

Describes a categorical column with many distinct values, like `zip_code` with 2,598 values. One-hot encoding would add thousands of nearly empty columns.

Where the book teaches it

Related terms

Target encodingSmoothingOne-hot encoding