Journal
Comparison of Naive Bayes Classifier and K-Nearest Neighbor Algorithms with Information Gain and Adaptive Boosting for Sentiment Analysis of Spotify App Reviews
Recursive Journal of Informatics · Vol. 2 No. 1 (2024) · pp. 37–44
- ISSN
- 2986-6588, 2963-5551
- Published
- 2024-03-31
- Publisher
- Universitas Negeri Semarang
- Language
- eng
Abstract
Abstract. At this time, the development of technology are increase rapidly. One of the issue that appear with advance technology is data volume in the world has increase too. With the large data volumes that exist in the world it can be used to some purpose in many field. Entertainment is one of the field that have many interest from user in this world. Spotify is the example of entertainment apps that provided by Google Play Store to give online music streams to their users. Because that apps is provided by Google Play Store, many reviews of the user about the apps it can be classified to know the positive, negative, or neutral. One way to classified the review of user is make sentiment analysis. In this paper, to classify the review we use naïve Bayes classifier and k-nearest neighbors that will be compared with adding Information gain as feature selection and adaptive boosting as boosting algorithm of each classification algorithm that we used. The result of classification using naïve Bayes classifier with adding Information gain and adaptive boosting is 87.28% and k-nearest neighbor with adding information gain and adaptive boosting can perform accuracy of 80.35%. Purpose: Knowing the result each of accuracy from the naïve Bayes classifier and k-nearest neighbor algorithm with adding information gain and adaptive boosting that we used and know how to doing the sentiment analysis step by step with the methods that chosen in this study. Methods/Study design/approach: This study applied data preprocessing, lexicon based labelling with TextBlob, Normalization, Word Vectorization using TF-IDF, and classification with naïve Bayes classifier and k-nearest neighbor, information gain as feature selection, and adaptive boosting as boosting algorithm to boost the accuracy of classification result. Result/Findings: The accuracy of naïve Bayes classifier with adding information gain and adaptive boosting is 87.28%. Meanwhile, by k-nearest neighbor with adding information gain and adaptive boosting reach the accuracy of 80.35%. This result obtained by using 60.000 dataset with data splitting 80% as data training and 20% as data testing. Novelty/Originality/Value: Implementing information gain as feature selection and adaptive boosting as boosting algorithm to naïve Bayes classifier is prove that it can be increase the accuracy of classification, but not same when implementing in k-nearest neighbor. So, for the future research can applied another classification algorithm or feature selection to get better result.
Collaboration network of the authors
40 authors · 166 co-authorship links · 11 across different organisations · showing the 40 most connected
Hover or tap a name to highlight its co-authors. Double-click to open the author's page.
- Institut Teknologi Kalimantan
- State University of Semarang
- Tun Hussein Onn University of Malaysia
- Affiliation unknown
- Different organisations
- Same organisation
- Affiliation unknown
- Thicker line = more joint articles · bigger circle = more articles
Show as table
| Co-author | Organisation | Joint articles |
|---|---|---|
| Alamsyah Alamsyah | Institut Teknologi Kalimantan | 7 |
| Much Aziz Muslim | Tun Hussein Onn University of Malaysia | 3 |
| Endang Sugiharti | State University of Semarang | 3 |
| Amalia Ika Wulandari | Affiliation unknown | 3 |
| Riza Arifudin | State University of Semarang | 2 |
| Chris Jeremy Verian Sitorus | Institut Teknologi Kalimantan | 2 |
| Muhammad Uswah Pawara | Institut Teknologi Kalimantan | 2 |
| Rodlian Jamal Ikhwani | Institut Teknologi Kalimantan | 2 |
| Suardi Suardi | Affiliation unknown | 2 |
| Amalia Ika Wulandari | Institut Teknologi Kalimantan | 2 |
| Suardi Suardi | Institut Teknologi Kalimantan | 2 |
| Muhamad Faishol Hakim | Affiliation unknown | 2 |
| Diah Siti Fatimah Azzahrah | Affiliation unknown | 2 |
| Lisa Ariyanti | Affiliation unknown | 2 |
| Budi Prasetiyo | State University of Semarang | 1 |
| Jumanto Jumanto | State University of Semarang | 1 |
| Rofik Rofik | State University of Semarang | 1 |
| Charles Sambera Kala | Affiliation unknown | 1 |
| Niti Gede Kumandang | Institut Teknologi Kalimantan | 1 |
| Arif Nur Iskandar | Affiliation unknown | 1 |
| Taufik Hidayat | Affiliation unknown | 1 |
| Taufik Hidayat | Institut Teknologi Kalimantan | 1 |
| Arif Nur Iskandar | Institut Teknologi Kalimantan | 1 |
| Abrari Noor Hasmi | Affiliation unknown | 1 |
| Abrari Noor Hasmi | Institut Teknologi Kalimantan | 1 |
| Asram Dio Pratama | Institut Teknologi Kalimantan | 1 |
| Rodlian Jamal Ikhwani | Affiliation unknown | 1 |
| Irvan Setiawan | Institut Teknologi Kalimantan | 1 |
| Destyariani Liana Putri | Affiliation unknown | 1 |
| Alan Dicky Swans Saragih | Affiliation unknown | 1 |
| Anggoronadhi Dianiswara | Affiliation unknown | 1 |
| Destyariani Liana Putri | Institut Teknologi Kalimantan | 1 |
| Alan Dicky Swans Saragih | Institut Teknologi Kalimantan | 1 |
| Anggoronadhi Dianiswara | Institut Teknologi Kalimantan | 1 |
| Wira Setiawan | Affiliation unknown | 1 |
| Muhammad Uswah Pawara | Affiliation unknown | 1 |
| Andi Mursid Nugraha Arifuddin | Affiliation unknown | 1 |
| Samsu Dlukha Nurcholiq | Affiliation unknown | 1 |
Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.