N-Gram Feature for Comparison of Machine Learning Methods on Sentiment in Financial News Headlines

A. M. Priyatno, Fahmi Iqbal Firmananda
{"title":"N-Gram Feature for Comparison of Machine Learning Methods on Sentiment in Financial News Headlines","authors":"A. M. Priyatno, Fahmi Iqbal Firmananda","doi":"10.31004/riggs.v1i1.4","DOIUrl":null,"url":null,"abstract":"\n \n \nSentiment analysis is currently widely used in natural language processing or information retrieval applications. Sentiment analysis analysis can provide information related to outstanding financial news headlines and provide input to the company. Positive sentiment will also have a good impact on the development of the company, but negative sentiment will damage the company's reputation. This will affect the company's development. This study compares machine learning methods on financial news headlines with n-gram feature extraction. The purpose of this study was to obtain the best method for classifying the headline sentiment of the company's financial news. The machine learning methods compared are Multinomial Naïve Bayes, Logistic Regression, Support Vector Machine, multi-layer perceptron (MLP), Stochastic Gradient Descent, and Decision Trees. The results show that the best method is logistic regression with a percentage of f1-measure, precision, and recal of 73.94 %, 73.94 %, and 74.63 %. This shows that the n-gram and machine learning features have successfully carried out sentiment analysis. \n \n \n","PeriodicalId":354426,"journal":{"name":"RIGGS: Journal of Artificial Intelligence and Digital Business","volume":"30 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"RIGGS: Journal of Artificial Intelligence and Digital Business","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.31004/riggs.v1i1.4","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Sentiment analysis is currently widely used in natural language processing or information retrieval applications. Sentiment analysis analysis can provide information related to outstanding financial news headlines and provide input to the company. Positive sentiment will also have a good impact on the development of the company, but negative sentiment will damage the company's reputation. This will affect the company's development. This study compares machine learning methods on financial news headlines with n-gram feature extraction. The purpose of this study was to obtain the best method for classifying the headline sentiment of the company's financial news. The machine learning methods compared are Multinomial Naïve Bayes, Logistic Regression, Support Vector Machine, multi-layer perceptron (MLP), Stochastic Gradient Descent, and Decision Trees. The results show that the best method is logistic regression with a percentage of f1-measure, precision, and recal of 73.94 %, 73.94 %, and 74.63 %. This shows that the n-gram and machine learning features have successfully carried out sentiment analysis.
比较财经新闻标题中情绪的机器学习方法的N-Gram特征
情感分析目前广泛应用于自然语言处理和信息检索等领域。情绪分析分析可以提供与优秀财经新闻头条相关的信息,并为公司提供输入。积极的情绪也会对公司的发展产生良好的影响,但消极的情绪会损害公司的声誉。这将影响公司的发展。本研究比较了金融新闻标题的机器学习方法和n-gram特征提取。本研究的目的是获得对公司财务新闻标题情绪进行分类的最佳方法。比较的机器学习方法有多项Naïve贝叶斯、逻辑回归、支持向量机、多层感知器(MLP)、随机梯度下降和决策树。结果表明,采用logistic回归方法进行分析的最佳方法,其准确度和召回率分别为73.94%、73.94%和74.63%。这表明n-gram和机器学习特征已经成功地进行了情感分析。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信