paint-brush
What is One Hot Encoding? Why And When do you have to use it?by@rakshithvasudev
448,401 reads
448,401 reads

What is One Hot Encoding? Why And When do you have to use it?

by VasudevAugust 3rd, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

So, you’re playing with ML models and you encounter this “One hot encoding” term all over the place. You see the <a href="http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html" target="_blank">sklearn documentation</a> for one hot encoder and it says “ Encode categorical integer features using a one-hot aka one-of-K scheme.” It’s not all that clear right? Or at least it was not for me. So let’s look at what one hot encoding actually is.
featured image - What is One Hot Encoding? Why And When do you have to use it?
Vasudev HackerNoon profile picture
Vasudev

Vasudev

@rakshithvasudev

L O A D I N G
. . . comments & more!

About Author

Vasudev HackerNoon profile picture
Vasudev@rakshithvasudev

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite