Klasifikasi Opini Publik terhadap Kenaikan PPN 12% di Platform X menggunakan Multinomial Naïve Bayes

The increase in Value-Added Tax to 12% in 2025 has sparked diverse public opinions on the social media platform X (Twitter). This study aims to classify public sentiment toward the policy using Multinomial Naïve Bayes with a Term Frequency-Inverse Document Frequency (TF-IDF) approach. Multinomial Naïve Bayes is a probabilistic classification algorithm that assumes feature independence. Data were collected through web crawling using the keyword "ppn 12%" and underwent pre-processing, including text normalization, stopword removal, and stemming. To address class imbalance, the Synthetic Minority Over-sampling Technique (SMOTE) was applied. The best-performing model was obtained by tuning the alpha hyperparameter to 0.01, achieving an average accuracy of 83.37%, precision of 83.32%, recall of 83.38%, and an F1-score of 82.99% using 10-fold cross-validation. The findings indicate that Multinomial Naïve Bayes, combined with SMOTE and hyperparameter tuning, effectively classifies public sentiment and provides insights into public responses regarding the Value-Added Tax policy.

Authors

Institutions

Publication Details

Journal
Unisda Journal of Mathematics and Computer Science (UJMC)
Published
2024-12-31
DOI
https://doi.org/10.52166/ujmc.v10i2.9120
Primary Topic
Data Mining and Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Klasifikasi Opini Publik terhadap Kenaikan PPN 12% di Platform X menggunakan Multinomial Naïve Bayes

Harun Al Azies, Hani Brilianti Rochmanto
Unisda Journal of Mathematics and Computer Science (UJMC)
Data Mining and Machine Learning Applications
article

Klasifikasi Opini Publik terhadap Kenaikan PPN 12% di Platform X menggunakan Multinomial Naïve Bayes

Harun Al Azies, Hani Brilianti Rochmanto
article en

Abstract

The increase in Value-Added Tax to 12% in 2025 has sparked diverse public opinions on the social media platform X (Twitter). This study aims to classify public sentiment toward the policy using Multinomial Naïve Bayes with a Term Frequency-Inverse Document Frequency (TF-IDF) approach. Multinomial Naïve Bayes is a probabilistic classification algorithm that assumes feature independence. Data were collected through web crawling using the keyword "ppn 12%" and underwent pre-processing, including text normalization, stopword removal, and stemming. To address class imbalance, the Synthetic Minority Over-sampling Technique (SMOTE) was applied. The best-performing model was obtained by tuning the alpha hyperparameter to 0.01, achieving an average accuracy of 83.37%, precision of 83.32%, recall of 83.38%, and an F1-score of 82.99% using 10-fold cross-validation. The findings indicate that Multinomial Naïve Bayes, combined with SMOTE and hyperparameter tuning, effectively classifies public sentiment and provides insights into public responses regarding the Value-Added Tax policy.

Unisda Journal of Mathematics and Computer Science (UJMC)Vol. 10(2)
Universitas PGRI Semarang (ID), Universitas Dian Nuswantoro (ID), Universitas PGRI Adi Buana Surabaya
Openalex Percentile: Top 51%
Data Mining and Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Klasifikasi Opini Publik terhadap Kenaikan PPN 12% di Platform X menggunakan Multinomial Naïve Bayes — Harun Al Azies, Hani Brilianti Rochmanto · Unisda Journal of Mathematics and Computer Science (UJMC) (2024) | TGRS Research Map | TGRS