Performance Analysis of the K-Nearest Neighbors (K-NN) for Sentiment Analysis of Online Loan Application X

  • I Ketut Agus Leo Gunadarma Universitas Udayana
  • Gusti Made Arya Sasmita Universitas Udayana
  • I Nyoman Prayana Trisna Universitas Udayana

Abstract

The digital economy in Indonesia is growing rapidly, including in online lending services. Application X is one of the popular online lending applications, offering users convenience in applying for loans online. This research employs sentiment analysis on user reviews of Application X to understand their preferences and needs. The K-Nearest Neighbours (K-NN) method is applied as the primary algorithm for sentiment classification. Data collected through user review scraping undergoes a series of preprocessing stages, such as tokenization, stop word removal, and stemming, aimed at improving data quality. The K-NN model is tested in various scenarios to achieve the best results. The best scenario reveals that the highest accuracy is achieved by the K-NN model when the stop word removal process is not applied during the data preprocessing stage where the accuracy without using the stop word process was 92.9%, compared to 89.9% when using stop words.

Published
2025-01-30
How to Cite
GUNADARMA, I Ketut Agus Leo; ARYA SASMITA, Gusti Made; PRAYANA TRISNA, I Nyoman. Performance Analysis of the K-Nearest Neighbors (K-NN) for Sentiment Analysis of Online Loan Application X. Jurnal Ilmiah Merpati (Menara Penelitian Akademika Teknologi Informasi), [S.l.], v. 12, n. 3, p. 204-213, jan. 2025. ISSN 2685-2411. Available at: <https://ojs.unud.ac.id/index.php/merpati/article/view/122703>. Date accessed: 22 feb. 2025. doi: https://doi.org/10.24843/JIM.2024.v12.i03.p07.

Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.