Main Page

Emotions AI - Carlo DeFilippis

Today we work with the Brain.JS AI and try to detect the emotion of a sentence, whether it sounds happy or sad. We accomplished this by making 2 generic arrays of objects with happy sounding sentences, and another with sound sounding sentences. The AI then runs it through many iterations and determines whether it thinks it sounds happy or sad. The more iterations we run, the more accurate it is. In this video example we run it through 200 iterations. We could run it through a maximum of 20,000 iterations for the most accurate response.

Day 29 of "100 days of coding".


Emotions AI

The github page for this project can be visited Here.