One Hot Encoding

Learn about one-hot encoding, both theoretically and programmatically.

We'll cover the following

Theory

Remember how we encoded labels while Preparing the input matrices? Back then, we only recognized 55 from other digits. So we encoded the labels by replacing 55 with 11, and other digits with 00:

Get hands-on with 1400+ tech skills courses.