Supervised Sentiment Classification with CNNs for Diverse SE Datasets

Achyudh Ram, Meiyappan Nagappan
12/23/2018
cs.CLcs.SE

Official code: achyudh/senti-gh (2 stars, Python, GPL-3.0, last commit 2019-01-04).

Abstract

Sentiment analysis, a popular technique for opinion mining, has been used by the software engineering research community for tasks such as assessing app reviews, developer emotions in issue trackers and developer opinions on APIs. Past research indicates that state-of-the-art sentiment analysis techniques have poor performance on SE data.

Show full abstract

This is because sentiment analysis tools are often designed to work on non-technical documents such as movie reviews. In this study, we attempt to solve the issues with existing sentiment analysis techniques for SE texts by proposing a hierarchical model based on convolutional neural networks (CNN) and long short-term memory (LSTM) trained on top of pre-trained word vectors. We assessed our model's performance and reliability by comparing it with a number of frequently used sentiment analysis tools on five gold standard datasets. Our results show that our model pushes the state of the art further on all datasets in terms of accuracy. We also show that it is possible to get better accuracy after labelling a small sample of the dataset and re-training our model rather than using an unsupervised classifier.

View on arXivView PDF

Code Implementations(1)

achyudh/senti-ghOfficial100%
GPL-3.0

A hierarchical deep learning model for supervised sentiment classification on diverse SE datasets

21PythonJan 15, 20187 years agoGPL-3.0

Similar Papers

Cite this paper

@article{ram2018supervised,
  title  = {Supervised Sentiment Classification with CNNs for Diverse SE Datasets},
  author = {Achyudh Ram and Meiyappan Nagappan},
  year   = {2018},
  eprint = {1812.09653},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1812.09653}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1812.09653.svg)](https://codeofpaper.com/paper/1812.09653)

Discussion