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:

Access this course and 1400+ top-rated courses and projects.