使用机器学习算法对与自然灾害相关的推文进行分类

Orlando Iparraguirre-Villanueva, Melquiades Melgarejo-Graciano, Gloria Castro-Leon, Sandro Olaya-Cotera, John Ruiz-Alvarado, Andrés Epifanía-Huerta, M. Cabanillas-Carbonell, Joselyn Zapata-Paulini
{"title":"使用机器学习算法对与自然灾害相关的推文进行分类","authors":"Orlando Iparraguirre-Villanueva, Melquiades Melgarejo-Graciano, Gloria Castro-Leon, Sandro Olaya-Cotera, John Ruiz-Alvarado, Andrés Epifanía-Huerta, M. Cabanillas-Carbonell, Joselyn Zapata-Paulini","doi":"10.3991/ijim.v17i14.39907","DOIUrl":null,"url":null,"abstract":"Identifying and classifying text extracted from social networks, following the traditional method, is very complex. In recent years, computer science has advanced exponentially, helping significantly to identify and classify text extracted from social networks, specifically Twitter. This work aims to identify, classify and analyze tweets related to real natural disasters through tweets with the hashtag #NaturalDisasters, using Machine learning (ML) algorithms, such as Bernoulli Naive Bayes (BNB), Multinomial Naive Bayes (MNB), Logistic Regression (LR), K-Nearest Neighbors (KNN), Decision Tree (DT), Random Forest (RF). First, tweets related to natural disasters were identified, creating a dataset of 122k geolocated tweets for training. Secondly, the data-cleaning process was carried out by applying stemming and lemmatization techniques. Third, exploratory data analysis (EDA) was performed to gain an initial understanding of the data. Fourth, the training and testing process of the BNB, MNB, L, KNN, DT, and RF models was initiated, using tools and libraries for this type of task. The results of the trained models demonstrated optimal performance: BNB, MNB, and LR models achieved a performance rate of 87% accuracy; and KNN, DT, and RF models achieved performances of 82%, 75%, and 86%, respectively. However, the BNB, MNB, and LR models performed better with respect to performance on their respective metrics, such as processing time, test accuracy, precision, and F1 score. Demonstrating, for this context and with the trained dataset that they are the best in terms of text classifiers.","PeriodicalId":13648,"journal":{"name":"Int. J. Interact. Mob. Technol.","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2023-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Classification of Tweets Related to Natural Disasters Using Machine Learning Algorithms\",\"authors\":\"Orlando Iparraguirre-Villanueva, Melquiades Melgarejo-Graciano, Gloria Castro-Leon, Sandro Olaya-Cotera, John Ruiz-Alvarado, Andrés Epifanía-Huerta, M. Cabanillas-Carbonell, Joselyn Zapata-Paulini\",\"doi\":\"10.3991/ijim.v17i14.39907\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Identifying and classifying text extracted from social networks, following the traditional method, is very complex. In recent years, computer science has advanced exponentially, helping significantly to identify and classify text extracted from social networks, specifically Twitter. This work aims to identify, classify and analyze tweets related to real natural disasters through tweets with the hashtag #NaturalDisasters, using Machine learning (ML) algorithms, such as Bernoulli Naive Bayes (BNB), Multinomial Naive Bayes (MNB), Logistic Regression (LR), K-Nearest Neighbors (KNN), Decision Tree (DT), Random Forest (RF). First, tweets related to natural disasters were identified, creating a dataset of 122k geolocated tweets for training. Secondly, the data-cleaning process was carried out by applying stemming and lemmatization techniques. Third, exploratory data analysis (EDA) was performed to gain an initial understanding of the data. Fourth, the training and testing process of the BNB, MNB, L, KNN, DT, and RF models was initiated, using tools and libraries for this type of task. The results of the trained models demonstrated optimal performance: BNB, MNB, and LR models achieved a performance rate of 87% accuracy; and KNN, DT, and RF models achieved performances of 82%, 75%, and 86%, respectively. However, the BNB, MNB, and LR models performed better with respect to performance on their respective metrics, such as processing time, test accuracy, precision, and F1 score. Demonstrating, for this context and with the trained dataset that they are the best in terms of text classifiers.\",\"PeriodicalId\":13648,\"journal\":{\"name\":\"Int. J. Interact. Mob. Technol.\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-08-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Int. J. Interact. Mob. Technol.\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.3991/ijim.v17i14.39907\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Int. J. Interact. Mob. Technol.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3991/ijim.v17i14.39907","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

传统的社交网络文本识别和分类方法非常复杂。近年来,计算机科学呈指数级发展,极大地帮助识别和分类从社交网络中提取的文本,特别是Twitter。这项工作旨在使用机器学习(ML)算法,如伯努利朴素贝叶斯(BNB)、多项朴素贝叶斯(MNB)、逻辑回归(LR)、k近邻(KNN)、决策树(DT)、随机森林(RF),通过标签#NaturalDisasters的推文识别、分类和分析与真实自然灾害相关的推文。首先,识别与自然灾害相关的推文,创建一个包含122k条地理定位推文的数据集用于训练。其次,采用词干化和词源化技术进行数据清洗。第三,进行探索性数据分析(EDA),初步了解数据。第四,启动了BNB、MNB、L、KNN、DT和RF模型的训练和测试过程,并使用了此类任务的工具和库。训练后的模型表现出最佳的性能:BNB、MNB和LR模型的准确率达到87%;KNN、DT和RF模型的性能分别达到82%、75%和86%。然而,BNB、MNB和LR模型在各自的指标(如处理时间、测试准确性、精度和F1分数)上表现更好。在这种情况下,用训练过的数据集证明它们在文本分类器方面是最好的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Classification of Tweets Related to Natural Disasters Using Machine Learning Algorithms
Identifying and classifying text extracted from social networks, following the traditional method, is very complex. In recent years, computer science has advanced exponentially, helping significantly to identify and classify text extracted from social networks, specifically Twitter. This work aims to identify, classify and analyze tweets related to real natural disasters through tweets with the hashtag #NaturalDisasters, using Machine learning (ML) algorithms, such as Bernoulli Naive Bayes (BNB), Multinomial Naive Bayes (MNB), Logistic Regression (LR), K-Nearest Neighbors (KNN), Decision Tree (DT), Random Forest (RF). First, tweets related to natural disasters were identified, creating a dataset of 122k geolocated tweets for training. Secondly, the data-cleaning process was carried out by applying stemming and lemmatization techniques. Third, exploratory data analysis (EDA) was performed to gain an initial understanding of the data. Fourth, the training and testing process of the BNB, MNB, L, KNN, DT, and RF models was initiated, using tools and libraries for this type of task. The results of the trained models demonstrated optimal performance: BNB, MNB, and LR models achieved a performance rate of 87% accuracy; and KNN, DT, and RF models achieved performances of 82%, 75%, and 86%, respectively. However, the BNB, MNB, and LR models performed better with respect to performance on their respective metrics, such as processing time, test accuracy, precision, and F1 score. Demonstrating, for this context and with the trained dataset that they are the best in terms of text classifiers.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
ESPE Security: Mobile and Web Application to Manage Community Emergency Alerts Improving Chemical Literacy Skills: Integrated Socio-Scientific Issues Content in Augmented Reality Mobile Alternative Framework in Electrochemistry among Secondary Schools Students in Johor, Malaysia Empowering Safety-Conscious Women Travelers: Examining the Benefits of Electronic Word of Mouth and Mobile Travel Assistant Enhancing Metacognitive and Creativity Skills through AI-Driven Meta-Learning Strategies
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1