Buletin Poltanesa
Vol 27 No 1 (2026): June 2026

Analysis of Visitor Sentiment Towards the Public Facilities at Teras Samarinda Using Naive Bayes Algorithm

Alysa Anggelia Y (STMIK Widya Cipta Dharma)
Muhammad Ibnu Sa'ad (STMIK Widya Cipta Dharma)
Heny Pratiwi (STMIK Widya Cipta Dharma)



Article Info

Publish Date
26 Jun 2026

Abstract

This study aims to analyze visitor sentiment toward public facilities at Teras Samarinda based on user-generated reviews collected from digital platforms. The increasing number of online reviews provides valuable insights into visitor satisfaction; however, manual analysis is inefficient due to the large volume of data. Therefore, this research applies a text mining approach to automatically classify sentiments into positive, negative, and neutral categories. The dataset consists of 165 comments obtained from YouTube, representing visitor experiences and opinions. The preprocessing stage includes case folding, cleaning, tokenization, stopword removal, and stemming to ensure data quality. Subsequently, Term Frequency–Inverse Document Frequency is used to transform textual data into numerical features. The classification process is performed using the Naive Bayes algorithm. The dataset is divided into training and testing data to evaluate model performance using accuracy, precision, recall, and F1-score metrics. The results show that the model achieves an accuracy of 75.75%, indicating a relatively good performance in classifying sentiments. However, the model demonstrates limitations in distinguishing negative and neutral sentiments due to imbalanced data distribution. The findings reveal that most visitors express positive sentiment toward public facilities at Teras Samarinda, suggesting overall satisfaction. This study contributes to providing insights for improving facility quality and highlights the importance of handling imbalanced datasets in sentiment analysis.

Copyrights © 2026






Journal Info

Abbrev

tanesa

Publisher

Subject

Agriculture, Biological Sciences & Forestry Computer Science & IT Education

Description

Buletin Poltanesa is a collection of research articles, scientific works, and dedication from all academic community in order to integrate information. Buletin Poltanesa provides open publication services for all members of the public, both in all tertiary educational and teacher environments and ...