Arabic Sentiment Analysis for ChatGPT Using Machine Learning Classification Algorithms: A Hyperparameter Optimization Technique

Author:

Nasayreh Ahmad1ORCID,Mamlook Rabia Emhamed Al2ORCID,Samara Ghassan3ORCID,Gharaibeh Hasan1ORCID,Aljaidi Mohammad3ORCID,Alzu'bi Dalia4ORCID,Al-Daoud Essam3ORCID,Abualigah Laith5ORCID

Affiliation:

1. Department of Information Technology and Computer Sciences, Yarmouk University, Irbid, Jordan

2. Department of Business Administration, Trine University, Angola, IN, USA and Department of Industrial Engineering, University Zawia, Tripoli, Libya

3. Department of Computer Science, Faculty of Information Technology, Zarqa University, Zarqa, Jordan

4. Department of Computer Science and Engineering, Concordia University, Montreal, Canada

5. Computer Science Department, Al al-Bayt University, Mafraq, Jordan; Hourani Center for Applied Scientific Research, Al-Ahliyya Amman University, Amman, Jordan; MEU Research Unit, Middle East University, Amman, Jordan; Department of Electrical and Computer Engineering, Lebanese American University, Byblos, Lebanon; School of Computer Sciences, Universiti Sains Malaysia, Pulau Pinang, Malaysia; School of Engineering and Technology, Sunway University Malaysia, Petaling Jaya, Malaysia; Applied Science...

Abstract

In the realm of ChatGPT's language capabilities, exploring Arabic Sentiment Analysis emerges as a crucial research focus. This study centers on ChatGPT, a popular machine learning model engaging in dialogues with users, garnering attention for its exceptional performance and widespread impact, particularly in the Arab world. The objective is to assess people's opinions about ChatGPT, categorizing them as positive or negative. Despite abundant research in English, there is a notable gap in Arabic studies. We assembled a dataset from X (formerly known as Twitter), comprising 2,247 tweets, classified by Arabic language specialists. Employing various machine learning algorithms, including Support Vector Machine (SVM), Logistic Regression (LR), Random Forest (RF), and Naïve Bayes (NB), we implemented hyperparameter optimization techniques such as Bayesian optimization, Grid Search, and random search to select the best hyperparameters that contribute to achieving the best performance. Through training and testing, performance enhancements were observed with optimization algorithms. SVM exhibited superior performance, achieving 90% accuracy, 88% precision, 95% recall, and 91% F1 score with Grid Search. These findings contribute valuable insights into ChatGPT's impact in the Arab world, offering a comprehensive understanding of sentiment analysis through machine learning methodologies.

Publisher

Association for Computing Machinery (ACM)

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3