Emotion and polarity prediction from Twitter

Rebeen Ali Hamad, Saeed M. Alqahtani, Mercedes Torres Torres
{"title":"Emotion and polarity prediction from Twitter","authors":"Rebeen Ali Hamad, Saeed M. Alqahtani, Mercedes Torres Torres","doi":"10.1109/SAI.2017.8252118","DOIUrl":null,"url":null,"abstract":"Classification of public information from microblogging and social networking services could yield interesting outcomes and insights into the social and public opinions towards different services, products, and events. Microblogging and social networking data are one of the most helpful and proper indicators of public opinion. The aim of this paper is to classify tweets to their classes using cross validation and partitioning the data across cities using supervised machine learning algorithms. Such an approach was used to collect real time Twitter microblogging data tweets towards mentioning iPad and iPhone in different locations in order to analyse and classify data in terms of polarity: positive or negative, and emotion: anger, joy, sadness, disgust, fear, and surprise. We have collected over eighty thousand tweets that have been pre-processed to generate document level ground truth and labelled according to Emotion and Polarity. We also compared some approaches in order to measures the performance of K-NN, Nave Bayes, and SVM classifiers. We found that the K-NN, Nave Bayes, SVM, and ZeroR have a reasonable accuracy rates, however, the K-NN has outperformed the Nave Bayes, SVM, and ZeroR based on the achieved accuracy rates and trained model time. The K-NN has achieved the highest accuracy rates 96.58% and 99.94% for the iPad and iPhone emotion data sets using cross validation technique respectively. Regarding partitioning the data per city, the K-NN has achieved the highest accuracy rates 98.8% and 99.95% for the iPad and iPhone emotion data sets respectively. Regarding the polarity data sets using both cross validation and partitioning data per city, the K-NN achieved 100% for the all polarity datasets.","PeriodicalId":210248,"journal":{"name":"2017 Computing Conference","volume":"45 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-07-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 Computing Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SAI.2017.8252118","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Classification of public information from microblogging and social networking services could yield interesting outcomes and insights into the social and public opinions towards different services, products, and events. Microblogging and social networking data are one of the most helpful and proper indicators of public opinion. The aim of this paper is to classify tweets to their classes using cross validation and partitioning the data across cities using supervised machine learning algorithms. Such an approach was used to collect real time Twitter microblogging data tweets towards mentioning iPad and iPhone in different locations in order to analyse and classify data in terms of polarity: positive or negative, and emotion: anger, joy, sadness, disgust, fear, and surprise. We have collected over eighty thousand tweets that have been pre-processed to generate document level ground truth and labelled according to Emotion and Polarity. We also compared some approaches in order to measures the performance of K-NN, Nave Bayes, and SVM classifiers. We found that the K-NN, Nave Bayes, SVM, and ZeroR have a reasonable accuracy rates, however, the K-NN has outperformed the Nave Bayes, SVM, and ZeroR based on the achieved accuracy rates and trained model time. The K-NN has achieved the highest accuracy rates 96.58% and 99.94% for the iPad and iPhone emotion data sets using cross validation technique respectively. Regarding partitioning the data per city, the K-NN has achieved the highest accuracy rates 98.8% and 99.95% for the iPad and iPhone emotion data sets respectively. Regarding the polarity data sets using both cross validation and partitioning data per city, the K-NN achieved 100% for the all polarity datasets.
来自Twitter的情感和极性预测
对来自微博和社交网络服务的公共信息进行分类,可以得到有趣的结果,并洞察社会和公众对不同服务、产品和事件的意见。微博和社交网络数据是最有用、最恰当的民意指标之一。本文的目的是使用交叉验证对推文进行分类,并使用有监督的机器学习算法对城市之间的数据进行分区。这种方法被用来收集实时的Twitter微博数据tweets提到iPad和iPhone在不同的位置,以便分析和分类数据极性:积极或消极,和情绪:愤怒,快乐,悲伤,厌恶,恐惧和惊讶。我们收集了超过八万条推文,这些推文经过预处理,生成了文档级别的事实,并根据情感和极性进行了标记。我们还比较了一些方法,以衡量K-NN、朴素贝叶斯和支持向量机分类器的性能。我们发现K-NN、Nave Bayes、SVM和ZeroR具有合理的准确率,然而,基于达到的准确率和训练的模型时间,K-NN优于Nave Bayes、SVM和ZeroR。使用交叉验证技术,K-NN在iPad和iPhone情感数据集上分别达到了96.58%和99.94%的最高准确率。对于每个城市的数据划分,K-NN在iPad和iPhone情感数据集上分别达到了最高的准确率98.8%和99.95%。对于使用交叉验证和每个城市分区数据的极性数据集,K-NN对所有极性数据集达到100%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书