Consider the following movie reviews.
Review
Label (sentiment)
Did not like, spend time well elsewhere.
Negative
Not a gem, glad I did not waste time
Negative
Not a wastage of my time, liked it
Positive
I did spend a gem of a time
Positive
Did not like, a wastage, a flop
Negative
Spend time elsewhere for a gem, wastage
Negative
Did not spend a good time
Negative
Gem, glad I did not spend time elsewhere
Positive
Glad it was not a flop, liked it
Positive
Good time, spent well, liked it
Positive
Using the training data above, use the k-nearest neighbors approach (with k=1) discussed in class for sentiment classification, find the sentiment (Positive or negative) of the following review.
Review
Label (sentiment)
Liked it, had a good time
?
Do NOT use synonyms. Remove only the following stopwords from your analysis: a, I, of, my, it, for, had, have. Also tense should be ignored: like = liked, spend = spent, etc. Further, waste = wasted = wastage. Show every calculation that helps you classify the sentiment of the review. Look at the slides for a similar problem we solved in class. Use Excel for the calculations. (16 points)