Sentiment Analysis of Public Responses Regarding The Use of Electric Cars in Indonesia with Support Vector Machine and Random Forest Methods

The diminishing use of fossil fuels has encouraged the search for alternative energy sources, one of which is the electric car. However, public acceptance of electric cars in Indonesia is not widely understood. This study aims to analyze public sentiment towards electric cars based on data from X social media. The dataset used consists of 3,450 data, which is analyzed using two machine learning methods, namely Support Vector Machine (SVM) and Random Forest. The research was conducted in three scenarios: SVM kernel comparison, Random Forest performance evaluation with various numbers of n-estimators (1, 10, 100), and performance comparison between the two methods. The experimental results show that Random Forest with 100 n-estimators produces the highest accuracy of 90.72% and F1-Score of 87.54%, while SVM with RBF kernel produces 89.35% accuracy and F1-Score of 85.15%. The performance difference of 1.37% shows that Random Forest is more effective in this sentiment analysis

Authors

Institutions

Publication Details

Journal
Indonesian Journal of Computer Science
Published
2025-02-07
DOI
https://doi.org/10.33022/ijcs.v14i1.4649
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

Sentiment Analysis of Public Responses Regarding The Use of Electric Cars in Indonesia with Support Vector Machine and Random Forest Methods

Putu Harry Gunawan, Yessica Anglila Seraphina
Indonesian Journal of Computer Science
Data Mining and Machine Learning Applications
article

Sentiment Analysis of Public Responses Regarding The Use of Electric Cars in Indonesia with Support Vector Machine and Random Forest Methods

Putu Harry Gunawan, Yessica Anglila Seraphina
article en

Abstract

The diminishing use of fossil fuels has encouraged the search for alternative energy sources, one of which is the electric car. However, public acceptance of electric cars in Indonesia is not widely understood. This study aims to analyze public sentiment towards electric cars based on data from X social media. The dataset used consists of 3,450 data, which is analyzed using two machine learning methods, namely Support Vector Machine (SVM) and Random Forest. The research was conducted in three scenarios: SVM kernel comparison, Random Forest performance evaluation with various numbers of n-estimators (1, 10, 100), and performance comparison between the two methods. The experimental results show that Random Forest with 100 n-estimators produces the highest accuracy of 90.72% and F1-Score of 87.54%, while SVM with RBF kernel produces 89.35% accuracy and F1-Score of 85.15%. The performance difference of 1.37% shows that Random Forest is more effective in this sentiment analysis

Indonesian Journal of Computer ScienceVol. 14(1)
Telkom University (ID)
Openalex Percentile: Top 96%
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.

Sentiment Analysis of Public Responses Regarding The Use of Electric Cars in Indonesia with Support Vector Machine and Random Forest Methods — Putu Harry Gunawan, Yessica Anglila Seraphina · Indonesian Journal of Computer Science (2025) | TGRS Research Map | TGRS