Melola Discovery

← Melola Discovery

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

DOI
10.15294/rji.v2i1.68551
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-authorOrganisationJoint articles
Alamsyah AlamsyahInstitut Teknologi Kalimantan7
Much Aziz MuslimTun Hussein Onn University of Malaysia3
Endang SugihartiState University of Semarang3
Amalia Ika WulandariAffiliation unknown3
Riza ArifudinState University of Semarang2
Chris Jeremy Verian SitorusInstitut Teknologi Kalimantan2
Muhammad Uswah PawaraInstitut Teknologi Kalimantan2
Rodlian Jamal IkhwaniInstitut Teknologi Kalimantan2
Suardi SuardiAffiliation unknown2
Amalia Ika WulandariInstitut Teknologi Kalimantan2
Suardi SuardiInstitut Teknologi Kalimantan2
Muhamad Faishol HakimAffiliation unknown2
Diah Siti Fatimah AzzahrahAffiliation unknown2
Lisa AriyantiAffiliation unknown2
Budi PrasetiyoState University of Semarang1
Jumanto JumantoState University of Semarang1
Rofik RofikState University of Semarang1
Charles Sambera KalaAffiliation unknown1
Niti Gede KumandangInstitut Teknologi Kalimantan1
Arif Nur IskandarAffiliation unknown1
Taufik HidayatAffiliation unknown1
Taufik HidayatInstitut Teknologi Kalimantan1
Arif Nur IskandarInstitut Teknologi Kalimantan1
Abrari Noor HasmiAffiliation unknown1
Abrari Noor HasmiInstitut Teknologi Kalimantan1
Asram Dio PratamaInstitut Teknologi Kalimantan1
Rodlian Jamal IkhwaniAffiliation unknown1
Irvan SetiawanInstitut Teknologi Kalimantan1
Destyariani Liana PutriAffiliation unknown1
Alan Dicky Swans SaragihAffiliation unknown1
Anggoronadhi DianiswaraAffiliation unknown1
Destyariani Liana PutriInstitut Teknologi Kalimantan1
Alan Dicky Swans SaragihInstitut Teknologi Kalimantan1
Anggoronadhi DianiswaraInstitut Teknologi Kalimantan1
Wira SetiawanAffiliation unknown1
Muhammad Uswah PawaraAffiliation unknown1
Andi Mursid Nugraha ArifuddinAffiliation unknown1
Samsu Dlukha NurcholiqAffiliation unknown1

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.

Metadata source: OAI-PMH (metadata jurnal) https://journal.unnes.ac.id/sju/index.php/rji/oai, first harvested 6 Nov 2026, last seen 6 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en-US">Comparison of Naive Bayes Classifier and K-Nearest Neighbor Algorithms with Information Gain and Adaptive Boosting for Sentiment Analysis of Spotify App Reviews</dc:title>
	<dc:creator>Saputro, Meidika Bagus</dc:creator>
	<dc:creator>Alamsyah, Alamsyah</dc:creator>
	<dc:description xml:lang="en-US">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.</dc:description>
	<dc:publisher xml:lang="en-US">Universitas Negeri Semarang</dc:publisher>
	<dc:date>2024-03-31</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.unnes.ac.id/sju/rji/article/view/68551</dc:identifier>
	<dc:identifier>10.15294/rji.v2i1.68551</dc:identifier>
	<dc:source xml:lang="en-US">Recursive Journal of Informatics; Vol 2 No 1 (2024): March 2024; 37-44</dc:source>
	<dc:source>2986-6588</dc:source>
	<dc:source>2963-5551</dc:source>
	<dc:source>10.15294/rji.v2i1</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://journal.unnes.ac.id/sju/rji/article/view/68551/26554</dc:relation>
	<dc:rights xml:lang="en-US">Copyright (c) 2024 Recursive Journal of Informatics</dc:rights>
</oai_dc:dc>