Analisis Sentimen Pinjaman Online: Studi Komparatif Algoritma Naïve Bayes, Decision Tree, dan KNN

The development of online lending services in Indonesia has led to various responses from the public on social media, including complaints about billing methods and concerns about high interest rates. This study aims to compare the performance of Naive Bayes, Decision Tree, and K-Nearest Neighbors (KNN) algorithms. This type of research is quantitative, and the data used is 5,941 tweets through crawling techniques from X social media, followed by preprocessing, data labeling with a lexicon-based feature extraction using TF-IDF, and sentiment classification using the three algorithms. The evaluation stage uses a confusion matrix, which can calculate accuracy, precision, recall, and the F-1 score. The results show that the decision tree provides the most consistent performance with 69% accuracy due to its ability to recognize complex data patterns and understand relationships between features. Naive Bayes excels in negative sentiment classification with 68% accuracy, while KNN shows the lowest performance with 44% accuracy because it is not effective in handling high-dimensional text data. These results can be utilized by online loan service providers and regulators to build an accurate public opinion monitoring system in order to respond to issues of public concern and improve service quality on an ongoing basis.

Authors

Institutions

Publication Details

Journal
EDUMATIC Jurnal Pendidikan Informatika
Published
2025-08-10
DOI
https://doi.org/10.29408/edumatic.v9i2.30142
Primary Topic
Data Mining and Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Analisis Sentimen Pinjaman Online: Studi Komparatif Algoritma Naïve Bayes, Decision Tree, dan KNN

Ryan Randy Suryono, Khyntia Miranda
EDUMATIC Jurnal Pendidikan Informatika
Data Mining and Machine Learning Applications
article

Analisis Sentimen Pinjaman Online: Studi Komparatif Algoritma Naïve Bayes, Decision Tree, dan KNN

Ryan Randy Suryono, Khyntia Miranda
article en

Abstract

The development of online lending services in Indonesia has led to various responses from the public on social media, including complaints about billing methods and concerns about high interest rates. This study aims to compare the performance of Naive Bayes, Decision Tree, and K-Nearest Neighbors (KNN) algorithms. This type of research is quantitative, and the data used is 5,941 tweets through crawling techniques from X social media, followed by preprocessing, data labeling with a lexicon-based feature extraction using TF-IDF, and sentiment classification using the three algorithms. The evaluation stage uses a confusion matrix, which can calculate accuracy, precision, recall, and the F-1 score. The results show that the decision tree provides the most consistent performance with 69% accuracy due to its ability to recognize complex data patterns and understand relationships between features. Naive Bayes excels in negative sentiment classification with 68% accuracy, while KNN shows the lowest performance with 44% accuracy because it is not effective in handling high-dimensional text data. These results can be utilized by online loan service providers and regulators to build an accurate public opinion monitoring system in order to respond to issues of public concern and improve service quality on an ongoing basis.

EDUMATIC Jurnal Pendidikan InformatikaVol. 9(2)
Universitas Teknokrat Indonesia (ID)
Openalex Percentile: Top 60%
Data Mining and Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Analisis Sentimen Pinjaman Online: Studi Komparatif Algoritma Naïve Bayes, Decision Tree, dan KNN — Ryan Randy Suryono, Khyntia Miranda · EDUMATIC Jurnal Pendidikan Informatika (2025) | TGRS Research Map | TGRS