To Use or Not to Use: Feature Selection for Sentiment Analysis of Highly Imbalanced Data

We investigate feature selection methods for machine learning approaches in sentiment analysis. More specifically, we use data from the cooking platform Epicurious and attempt to predict ratings for recipes based on user reviews. In machine learning approaches to such tasks, it is a common approach to use word or part-of-speech n-grams. This results in a large set of features, out of which only a small subset may be good indicators for the sentiment. One of the questions we investigate concerns the extension of feature selection methods from a binary classification setting to a multi-class problem. We show that an inherently multi-class approach, multi-class information gain, outperforms ensembles of binary methods. We also investigate how to mitigate the effects of extreme skewing in our data set by making our features more robust and by using review and recipe sampling. We show that over-sampling is the best method for boosting performance on the minority classes, but it also results in a severe drop in overall accuracy of at least 6 per cent points.

Publication Date:
Jan 01 2018
Date Submitted:
Jan 17 2019
Natural Language Engineering, 24, 1

 Record created 2019-01-17, last modified 2019-04-03

Download fulltext

Rate this document:

Rate this document:
(Not yet reviewed)