How I developed a C.N.N. that recognizes emotions and broke into the Kaggle top 10

Jerin Paul
We’ve moved to freeCodeCamp.org/news
9 min readOct 1, 2018

--

A baby starts to recognize its parents’ faces when it is just a couple of weeks old. As it grows, this innate ability improves. By the time it is a few months old, it starts to display social cues and is able to understand basic emotions like a smile.

Thanks to millions of years of evolution, we are able to understand each other without using a single word. Just a look and that is all that takes to understand whether a person is crestfallen or elated. Well, I tried teaching computers to do just that. This article is a detailed account of how the whole experiment turned out. Follow along as we recreate the network.

Image for representational purposes only.

Cut to the chase Paul, please, give me the code. Don’t want fancy reading? No problem. You can find the code for this project here.

A Brief Introduction

“The best and most beautiful things in the world cannot be seen or even touched. They must be felt with the heart” ― Helen Keller

Hellen Keller excellently described the essence of human emotions in the aforementioned quote. What was once reserved for animals is no longer limited to them. Machine learning is catching on at a mindnumbing pace. The…

--

--

Jerin Paul
We’ve moved to freeCodeCamp.org/news

Deep Learning Researcher ◐ Habit Hacker ◑ I Love writing. Checkout my works at livetheaiexperience.com