Why One-Hot Encoding Turned 25MB Into 1.4GB
Here's a real number, produced by running the code below, not borrowed from anywhere: a single categorical column, 500,000 rows, 3,000 unique values, sitting at a modest 25.6MB in memory. One-hot enco
singh-technical-blog.hashnode.dev6 min read