Enhanced multi-lingual Twitter sentiment analysis using hyperparameter tuning k-nearest neighbors
Kristiawan Nugroho, Edy Winarno, De Rosal Ignatius Moses Setiadi, Omar Farooq
Abstract
Social media is a medium that is often used by someone to express themselves. These various problems on social media have encouraged research in sentiment analysis to become one of the most popular research fields. Various methods are used in sentiment analysis research, ranging from classic machine learning (ML) to deep learning. Researchers nowadays often use deep learning methods in sentiment analysis research because they have advantages in processing large amounts of data and providing high accuracy. However, deep learning also has limitations on the longer computational side due to the complexity of its network architecture. K-nearest neighbor (KNN) is a robust ML method but does not yet provide high-accuracy results in multi-lingual sentiment analysis research, so a hyperparameter tuning KNN approach is proposed. The results showed that using the proposed method, the accuracy level improved to 98.37%, and the classification error (CE) improved to 1.63%. The model performed better than other ML and even deep learning methods. The results of this study indicate that KNN using hyperparameter tuning is a method that contributes to the sentiment analysis classification model using the Twitter dataset.
Keywords
Hyperparameter tuning; K-nearest neighbor; Sentiment analysis; Social media; Twitter
DOI:
https://doi.org/10.11591/eei.v13i6.7265
Refbacks
There are currently no refbacks.
This work is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License .
<div class="statcounter"><a title="hit counter" href="http://statcounter.com/free-hit-counter/" target="_blank"><img class="statcounter" src="http://c.statcounter.com/10241695/0/5a758c6a/0/" alt="hit counter"></a></div>
Bulletin of EEI Stats
Bulletin of Electrical Engineering and Informatics (BEEI) ISSN: 2089-3191, e-ISSN: 2302-9285 This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU) .