Analisis Sentimen Komentar Media Sosial Twitter Terhadap Tes CPNS dengan Algoritma Naive Bayes

The Calon Pegawai Negeri Sipil (CPNS) is one of the most sought-after careers in Indonesia, with the number of applicants increasing every year. The CPNS selection process attracts public attention and triggers various opinions, both positive and negative, which are widely conveyed through social media such as Twitter. This research aims to analyze public sentiment towards the CPNS selection process using the Naive Bayes algorithm. The data used in this study consists of 5,599 comments on Twitter, with a composition of 5,269 negative sentiment data and 323 positive sentiment data. Tests were conducted using several data sharing ratios, namely 80:20, 70:30, 90:10, and 50:50. The results show that the 70:30 ratio provides the best accuracy, which is 95%. However, data imbalance causes the model to focus more on negative sentiment. To address this issue, the Synthetic Minority Over-sampling Technique (SMOTE) was applied, which successfully improved the model's performance in classifying positive data, with precision and recall reaching 85-98%. After the application of SMOTE, the overall accuracy decreased slightly to 91% at 80:20, 70:30, and 90:10 ratios, but the model became more effective in detecting both sentiments. The results of this study provide insight into the public's views on CPNS selection and can be used by the government to improve the selection process in the future. With this approach, it is expected that government agencies can better understand public perceptions and optimize a more transparent and fair recruitment system.

Authors

Institutions

Publication Details

Journal
Building of Informatics Technology and Science (BITS)
Published
2024-12-03
DOI
https://doi.org/10.47065/bits.v6i3.6148
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

Analisis Sentimen Komentar Media Sosial Twitter Terhadap Tes CPNS dengan Algoritma Naive Bayes

Nirwana Hendrastuty, Rifki Nurhidayat
Building of Informatics Technology and Science (BITS)
Data Mining and Machine Learning Applications
article

Analisis Sentimen Komentar Media Sosial Twitter Terhadap Tes CPNS dengan Algoritma Naive Bayes

Nirwana Hendrastuty, Rifki Nurhidayat
article en

Abstract

The Calon Pegawai Negeri Sipil (CPNS) is one of the most sought-after careers in Indonesia, with the number of applicants increasing every year. The CPNS selection process attracts public attention and triggers various opinions, both positive and negative, which are widely conveyed through social media such as Twitter. This research aims to analyze public sentiment towards the CPNS selection process using the Naive Bayes algorithm. The data used in this study consists of 5,599 comments on Twitter, with a composition of 5,269 negative sentiment data and 323 positive sentiment data. Tests were conducted using several data sharing ratios, namely 80:20, 70:30, 90:10, and 50:50. The results show that the 70:30 ratio provides the best accuracy, which is 95%. However, data imbalance causes the model to focus more on negative sentiment. To address this issue, the Synthetic Minority Over-sampling Technique (SMOTE) was applied, which successfully improved the model's performance in classifying positive data, with precision and recall reaching 85-98%. After the application of SMOTE, the overall accuracy decreased slightly to 91% at 80:20, 70:30, and 90:10 ratios, but the model became more effective in detecting both sentiments. The results of this study provide insight into the public's views on CPNS selection and can be used by the government to improve the selection process in the future. With this approach, it is expected that government agencies can better understand public perceptions and optimize a more transparent and fair recruitment system.

Building of Informatics Technology and Science (BITS)Vol. 6(3)
Universitas Teknokrat Indonesia (ID)
Openalex Percentile: Top 53%
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.