Bulletin of Computer Science Research
Vol. 6 No. 1 (2025): December 2025

Klasifikasi Sentimen Bitcoin Terhadap Komentar Di Aplikasi X Menggunakan Metode Decision Tree C4.5

Indrizal, Habibi Putra (Unknown)
Syafria, Fadhilah (Unknown)
Haerani, Elin (Unknown)
Vitriani, Yelvi (Unknown)
Yusra, Yusra (Unknown)



Article Info

Publish Date
31 Dec 2025

Abstract

Sentiment analysis is an important method for understanding user perceptions of cryptocurrency assets such as Bitcoin, whose price movements are strongly influenced by public opinion. This study aims to classify user sentiment from comments posted on the X platform into two classes, namely positive and negative, using the Decision Tree C4.5 algorithm. The dataset consists of 5,000 Indonesian-language comments collected through a web scraping process and processed through text preprocessing and TF-IDF–based feature extraction. The model was trained using a 70% training data and 30% testing data split. The evaluation results show that the C4.5 model achieved an accuracy of 78%. For the positive class, the model obtained a very high recall of 0.99 with an F1-score of 0.83, indicating strong performance in identifying positive comments. In contrast, the negative class achieved a recall of 0.51 with an F1-score of 0.67, despite having a high precision of 0.97. The disparity in performance between classes is influenced by the data distribution, which is not fully balanced, with positive comments being more dominant than negative ones, causing the model to be more sensitive to the majority class. Overall, the results indicate that the Decision Tree C4.5 algorithm is sufficiently effective for Indonesian-language Bitcoin sentiment classification, although it still has limitations in recognizing the minority class. Future research may explore the application of data imbalance handling techniques or more advanced algorithms to improve the balance of classification performance across classes.

Copyrights © 2025






Journal Info

Abbrev

bulletincsr

Publisher

Subject

Computer Science & IT

Description

Bulletin of Computer Science Research covers the whole spectrum of Computer Science, which includes, but is not limited to : • Artificial Immune Systems, Ant Colonies, and Swarm Intelligence • Bayesian Networks and Probabilistic Reasoning • Biologically Inspired Intelligence • Brain-Computer ...