Hi,
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.
Lets say that:
numberofHappy = 15 tweets
numberofConfused = 6 tweets
numberofHappy = 15 tweets
numberofConfused = 6 tweets
numberofBored = 16 tweets
numberofInterest = 9 tweets
numberofHungry = 20 tweets
How do I find out which one is has the most tweets (numberofHungry)?
Right now every tweet is represented by a colored blob that corresponds to an emotion.
Don't mind the Dutch words in there, my prototype had to be bilingual.
I hope someone can point me in the right direction.
Thank you for your time!
Thank you for your time!
1