PERBANDINGAN ALGORITMA NAIVE BAYES DAN K-NEAREST NEIGHBORS DALAM ANALISIS SENTIMEN ULASAN PRODUK TOKOPEDIA

This study aims to classify public opinions on educational issues expressed through the social media platform Twitter using the Naïve Bayes Classifier algorithm. This method was chosen due to its capability to categorize text data into positive, negative, and neutral sentiment categories based on the assumption of attribute independence. The data used consists of a collection of tweets relevant to the topic of education, which were analyzed through the stages of preprocessing, feature extraction, classification, and model evaluation. The results of the study indicate that the model is able to classify opinions with an accuracy of 73% based on the Confusion Matrix. Further analysis shows a precision of 85% for the positive category, 79% for negative, and 88% for neutral, while the recall for the positive category reached 77%. These findings suggest that the Naïve Bayes algorithm is fairly effective in processing public opinion from social media and can serve as a reference for understanding public perceptions regarding educational issues.

Publication Details

Journal
Jurnal Teknik Informasi dan Komputer (Tekinkom)
Published
2025-06-30
DOI
https://doi.org/10.37600/tekinkom.v8i1.1985
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PERBANDINGAN ALGORITMA NAIVE BAYES DAN K-NEAREST NEIGHBORS DALAM ANALISIS SENTIMEN ULASAN PRODUK TOKOPEDIA

Jurnal Teknik Informasi dan Komputer (Tekinkom)
Geochemistry and Geologic Mapping
article

PERBANDINGAN ALGORITMA NAIVE BAYES DAN K-NEAREST NEIGHBORS DALAM ANALISIS SENTIMEN ULASAN PRODUK TOKOPEDIA

article en

Abstract

This study aims to classify public opinions on educational issues expressed through the social media platform Twitter using the Naïve Bayes Classifier algorithm. This method was chosen due to its capability to categorize text data into positive, negative, and neutral sentiment categories based on the assumption of attribute independence. The data used consists of a collection of tweets relevant to the topic of education, which were analyzed through the stages of preprocessing, feature extraction, classification, and model evaluation. The results of the study indicate that the model is able to classify opinions with an accuracy of 73% based on the Confusion Matrix. Further analysis shows a precision of 85% for the positive category, 79% for negative, and 88% for neutral, while the recall for the positive category reached 77%. These findings suggest that the Naïve Bayes algorithm is fairly effective in processing public opinion from social media and can serve as a reference for understanding public perceptions regarding educational issues.

Jurnal Teknik Informasi dan Komputer (Tekinkom)Vol. 8(1)
Quality Education
Openalex Percentile: Top 33%
Geochemistry and Geologic Mapping
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.