I'm working on a prototype for my thesis that imports tweets, categorizes them by emotion and then represents the 'most felt emotion' as a color via an RGB led.
I'm having some trouble comparing the different emotions and finding the most common one.
Right now, every time an emotion is detected in a tweet it ads 1 to the corresponding category. I'm wondering how I can compare these to find the one with the highest amount of tweets in it.
Example:
I've got numberofHappy, numberofConfused, numberofBored, numberofInterest and numberofHungry.