Campbell_MG

Campbell_MG OP t1_iwyi01q wrote

This is exactly how it works. Each emotion is layered on top of one another with the opacity driven by the likelihood of the emotion from the ML model.

I tried a few different colours but this ended up being the most distinct I could find.

While red and blue mixed won't be helping, the model definitely seems to lean towards fear. If you look at the raw numbers fear seems to show up the most.

28

Campbell_MG OP t1_iwy9m6f wrote

I have no idea why my main comment isn't showing up but here's how it was done:

> These were created by running public domain books from Project GITenberg, through a python script that uses this NLP model to determine the emotions in a given sentence. Each sentence is then processed into a colour representing each emotion's prevalence and stitched together into these barcodes.

15