Claim Missing Document
Check
Articles

Found 2 Documents
Search
Journal : INCODING: Journal of Informatics and Computer Science Engineering

Analisis Sentimen Komentar Pengunjung Terhadap Tempat Wisata Tjong A Fie Mansion Menggunakan Metode Naïve Bayes Classifier Siregar, Erlina; Lubis, Andre Hasudungan
INCODING: Journal of Informatics and Computer Science Engineering Vol 5, No 2 (2025): INCODING OKTOBER
Publisher : Mahesa Research Institute

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.34007/incoding.v5i2.848

Abstract

This study aims to analyze the sentiment of visitor comments on the Tjong A Fie Mansion tourist attraction in Medan City using the Naïve Bayes Classifier method. A total of 100 comments were manually collected from Google Maps and underwent preprocessing stages, including case folding, tokenization, stopword removal, and stemming. Feature extraction was then performed using the TF-IDF method, followed by classification using the Multinomial Naïve Bayes algorithm. Model performance was evaluated using a confusion matrix. The test results showed that a data split of 80% for training and 20% for testing yielded the highest accuracy, reaching 80%, with a sentiment classification result of 100% positive. These findings indicate that the Naïve Bayes method can effectively and efficiently classify text-based comments. The sentiment analysis results are expected to provide input for tourism managers to improve service quality and serve as a reference for the development of user opinion-based decision support systems.
Analisis Sentimen Produk Berdasarkan Review Pelanggan Shopee Menggunakan KNN Irwannia, Fira; Lubis, Andre Hasudungan
INCODING: Journal of Informatics and Computer Science Engineering Vol 5, No 2 (2025): INCODING OKTOBER
Publisher : Mahesa Research Institute

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.34007/incoding.v5i2.865

Abstract

This study aims to conduct sentiment analysis on customer reviews of mukena products available on the Shopee application using the K-Nearest Neighbors (KNN) algorithm. The data used is primary data consisting of 200 reviews collected manually. The analysis process begins with data preprocessing such as case folding, tokenization, stopword removal, and stemming, followed by feature extraction using the TF-IDF method, and classification using the KNN algorithm. The model's performance is evaluated using a confusion matrix. The results show that the proportion of training data and the n_neighbors parameter significantly affect the model's accuracy. A 90% training and 10% testing proportion produced the highest accuracy of 90%. However, with n_neighbors = 3, the best performance was achieved with a 70:30 data split, reaching 81.67% accuracy. This study demonstrates that KNN is an effective method for sentiment analysis on product reviews.