JOURNAL ARTICLE

SENTIMENT ANALYSIS OF YOUTUBE COMMENTS ABOUT INDONESIAN LGBT USING SUPPORT VECTOR MACHINE AND NAÏVE BAYES ALGORITHMS

Hapsari Ratri SasodroYonathan Purbo Santosa

Year: 2024 Journal:   Proxies Jurnal Informatika Vol: 6 (2)Pages: 137-159   Publisher: Soegijapranata Catholic University

Abstract

YouTube is a social media that is widely used by content creators to publish their work, including LGBT content. Because of this content, many viewers end up expressing their opinions through comments. This research aims to see which is the best algorithm between Support Vector Machine using two kernels, linear kernel and RBF kernel or Naive Bayes using multinomial naive bayes seen from confusion matrix. Also, to see which pre-processing is best used for sentiment analysis by dividing pre-processing into several parts. Support Vector Machine using RBF kernel is the best algorithm in this research with 77% accuracy with precision for sentiment -1 74%, recall 72% and f1-score 72%. For sentiment 0, 70% for precision, 81% for recall, and 75% for f1-score. And the last, for sentiment 1, with 90% precision, 77% recall and 83% f1-score. In addition, pre-processing using stemming-tokenizing is the best pre-processing used for sentiment analysis in this research based on the highest average number.

Keywords:
Support vector machine Computer science Naive Bayes classifier Sentiment analysis Confusion matrix Artificial intelligence Kernel (algebra) Machine learning Recall Precision and recall Social media Algorithm Mathematics World Wide Web Psychology

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
0.23
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Multimedia Learning Systems
Physical Sciences →  Computer Science →  Information Systems
Data Mining and Machine Learning Applications
Physical Sciences →  Computer Science →  Information Systems
Information Retrieval and Data Mining
Physical Sciences →  Computer Science →  Information Systems
© 2026 ScienceGate Book Chapters — All rights reserved.