Sentiment Analysis on Twitter Social Media towards Najwa Shihab Using Naïve Bayes Algorithm and Support Vector Machine (SVM)

With the rapid growth of digital technology, social media has become a key platform for sharing information and opinions. Twitter, one of the most popular platforms in Indonesia, enables users to interact directly with public figures such as Najwa Shihab. This study aims to analyze public sentiment toward Najwa Shihab on Twitter using sentiment analysis, specifically employing the Naïve Bayes and Support Vector Machine (SVM) algorithms. Sentiment analysis is essential to understanding public opinion, as it classifies text into categories like positive, negative, or neutral, providing valuable insights into societal perspectives on public figures. In this study, 10,000 tweets related to Najwa Shihab were collected from January 1, 2023, to January 31, 2023. Data preprocessing steps such as data cleaning, tokenization, stopwords removal, and filtering were conducted to ensure high-quality data for analysis. The Naïve Bayes and SVM algorithms were applied using RapidMiner to classify the sentiment of the tweets. The performance of both algorithms was evaluated based on accuracy, precision, recall, and F1-score.The results revealed that SVM outperformed Naïve Bayes in all metrics, demonstrating its superior ability to classify sentiments correctly. The sentiment distribution indicated a majority of positive opinions toward Najwa Shihab, with fluctuations in negative sentiment during specific events. This study provides insights into public sentiment analysis and contributes to understanding social media opinions on public figures.

Authors

Institutions

Publication Details

Journal
International Journal of Health Engineering and Technology
Published
2025-05-20
DOI
https://doi.org/10.55227/ijhet.v3i1.280
Primary Topic
Multimedia Learning Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sentiment Analysis on Twitter Social Media towards Najwa Shihab Using Naïve Bayes Algorithm and Support Vector Machine (SVM)

Rizalina Rizalina, Fahruzi Sirait, Desi Irpan, Riszki Fadillah et al.
International Journal of Health Engineering and Technology
Multimedia Learning Systems
article

Sentiment Analysis on Twitter Social Media towards Najwa Shihab Using Naïve Bayes Algorithm and Support Vector Machine (SVM)

Rizalina Rizalina, Fahruzi Sirait, Desi Irpan, Riszki Fadillah, Riswan Syahputra Damanik
article en

Abstract

With the rapid growth of digital technology, social media has become a key platform for sharing information and opinions. Twitter, one of the most popular platforms in Indonesia, enables users to interact directly with public figures such as Najwa Shihab. This study aims to analyze public sentiment toward Najwa Shihab on Twitter using sentiment analysis, specifically employing the Naïve Bayes and Support Vector Machine (SVM) algorithms. Sentiment analysis is essential to understanding public opinion, as it classifies text into categories like positive, negative, or neutral, providing valuable insights into societal perspectives on public figures. In this study, 10,000 tweets related to Najwa Shihab were collected from January 1, 2023, to January 31, 2023. Data preprocessing steps such as data cleaning, tokenization, stopwords removal, and filtering were conducted to ensure high-quality data for analysis. The Naïve Bayes and SVM algorithms were applied using RapidMiner to classify the sentiment of the tweets. The performance of both algorithms was evaluated based on accuracy, precision, recall, and F1-score.The results revealed that SVM outperformed Naïve Bayes in all metrics, demonstrating its superior ability to classify sentiments correctly. The sentiment distribution indicated a majority of positive opinions toward Najwa Shihab, with fluctuations in negative sentiment during specific events. This study provides insights into public sentiment analysis and contributes to understanding social media opinions on public figures.

International Journal of Health Engineering and TechnologyVol. 3(1)
Information Technology Institute (EG), Universitas Putra Indonesia "YPTK" (ID), Euskadiko Parke Teknologikoa (ES)
Openalex Percentile: Top 69%
Multimedia Learning Systems
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.

Sentiment Analysis on Twitter Social Media towards Najwa Shihab Using Naïve Bayes Algorithm and Support Vector Machine (SVM) — Rizalina Rizalina, Fahruzi Sirait, et al. · International Journal of Health Engineering and Technology (2025) | TGRS Research Map | TGRS