Claim Missing Document
Check
Articles

Found 22 Documents
Search

Optimalisasi Random Forest untuk Sentimen Pilkada Jawa Timur dengan Chi-Square dan Mutual Information Rahma Putri Widyaiswari; Anisa Dzulkarnain; Alqis Rausanfita
JUITA: Jurnal Informatika JUITA Vol. 13 Issue 3, November 2025
Publisher : Department of Informatics Engineering, Universitas Muhammadiyah Purwokerto

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.30595/juita.v13i3.26778

Abstract

The rise of social media has transformed the way people express opinions, including in political contexts. In the 2024 East Java Gubernatorial Election, social media platform X became a major outlet for public sentiment toward the governor and deputy governor candidates. This study aims to analyse public sentiment toward three candidate pairs by categorizing the data into three sentiment classes: positive, negative, and neutral. Feature selection was conducted by combining Term Frequency-Inverse Document Frequency (TF-IDF) with Chi-Square and Mutual Information (MI) methods to improve feature quality. The Random Forest algorithm was employed as the primary classification model. In addition, several other algorithms were tested for comparison. The results indicate that the TF-IDF and Chi-Square combination with Random Forest achieved the highest accuracy of 82.07%. These findings highlight the importance of feature selection in improving model performance for sentiment classification. The study provides insights into public opinion that can serve as a reference for strategic decision-making in the political and public sectors.
Penggunaan Metode Naïve Bayes untuk Klasifikasi Topik Tweet Bidang dan Non-Bidang Rektorat Telkom University pada Akun Telyufess Mukhammad Hafiz Bima Ibrahim; Anisa Dzulkarnain; Alqis Rausanfita
Bulletin of Computer Science Research Vol. 5 No. 5 (2025): August 2025
Publisher : Forum Kerjasama Pendidikan Tinggi (FKPT)

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.47065/bulletincsr.v5i5.705

Abstract

Student complaints submitted through the Telyufess account on the social media platform X have not been optimally utilized as input for evaluating campus services at Telkom University. This study aims to classify tweets from the Telyufess account into two categories: domain-related (linked to official university units such as academics, finance, and campus services) and non-domain (general complaints unrelated to specific units). The main issue addressed is the need for an automated mapping system of student complaints to support campus service evaluations. The classification method used is Naïve Bayes, involving manual labeling by the researcher and assistant annotators (with inter-rater validation), text preprocessing (normalization using a standard dictionary and the Sastrawi library, removal of special characters, stop word filtering based on Indonesian language lists augmented with the unique term “telyu!”), tokenization, stemming, TF-IDF weighting, and dataset splitting in ratios of 65:35, 70:30, 80:20, and 90:10. A total of 1,090 tweets were collected between January 1, 2023 and January 1, 2025 using the Tweet Harvest API, based on criteria including complaints, opinions, and suggestions (retweets were excluded). The highest accuracy was achieved at 87.27% with a 90:10 split, followed by 81.74% (80:20), 78.35% (70:30), and 76.96% (65:35). Although the model showed signs of overfitting on training data (accuracy >99%), the results demonstrate that Naïve Bayes is effective for automated tweet classification and contributes to the use of social media as a data source for evaluating campus services.