Full Text

Turn on search term navigation

© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.

Abstract

Machine learning models are used today to solve problems within a broad span of disciplines. If the proper hyperparameter tuning of a machine learning classifier is performed, significantly higher accuracy can be obtained. In this paper, a comprehensive comparative analysis of various hyperparameter tuning techniques is performed; these are Grid Search, Random Search, Bayesian Optimization, Particle Swarm Optimization (PSO), and Genetic Algorithm (GA). They are used to optimize the accuracy of six machine learning algorithms, namely, Logistic Regression (LR), Ridge Classifier (RC), Support Vector Machine Classifier (SVC), Decision Tree (DT), Random Forest (RF), and Naive Bayes (NB) classifiers. To test the performance of each hyperparameter tuning technique, the machine learning models are used to solve an Arabic sentiment classification problem. Sentiment analysis is the process of detecting whether a text carries a positive, negative, or neutral sentiment. However, extracting such sentiment from a complex derivational morphology language such as Arabic has been always very challenging. The performance of all classifiers is tested using our constructed dataset both before and after the hyperparameter tuning process. A detailed analysis is described, along with the strengths and limitations of each hyperparameter tuning technique. The results show that the highest accuracy was given by SVC both before and after the hyperparameter tuning process, with a score of 95.6208 obtained when using Bayesian Optimization.

Details

Title
Hyperparameter Tuning for Machine Learning Algorithms Used for Arabic Sentiment Analysis
Author
Elgeldawi, Enas 1   VIAFID ORCID Logo  ; Sayed, Awny 2 ; Galal, Ahmed R 1 ; Zaki, Alaa M 1   VIAFID ORCID Logo 

 Computer Science Department, Faculty of Science, Minia University, Minia 61519, Egypt; [email protected] (A.S.); [email protected] (A.R.G.); [email protected] (A.M.Z.) 
 Computer Science Department, Faculty of Science, Minia University, Minia 61519, Egypt; [email protected] (A.S.); [email protected] (A.R.G.); [email protected] (A.M.Z.); Faculty of Computing and Information Technology, Information Technology Department, King Abdulaziz University, Jeddah 21589, Saudi Arabia 
First page
79
Publication year
2021
Publication date
2021
Publisher
MDPI AG
e-ISSN
22279709
Source type
Scholarly Journal
Language of publication
English
ProQuest document ID
2612786789
Copyright
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.