Melola Discovery

← Melola Discovery

Jurnal Tanpa peringkat SINTA

Classification Model of Public Sentiments About Electric Cars Using Machine Learning

Scientific Journal of Informatics · Vol. 11 No. 2 (2024) · hlm. 303–314

DOI
10.15294/sji.v11i2.1309
ISSN
2407-7658, 2460-0040
Terbit
2024-05-14
Penerbit
Universitas Negeri Semarang
Bahasa
eng

Abstrak

Purpose: This research compared the accuracy level of six algorithms based on the ROC method and the Confusion Matrix evaluation on data regarding public sentiments towards electric cars. Methods: Data collection was conducted for data sourced from TikTok. Next, the data underwent text preprocessing (data cleaning and case folding) and text processing (stemming, tokenizing, stopword removal, word frequency, word relation, TF-IDF, scoring, and labeling). Modeling was then conducted using supervised (labeled) algorithms consisting of the Support Vector Machine (SVM), Decision Tree, Naive Bayes, Random Forest, K-Neighbor, and Logistic Regression. Finally, an evaluation was conducted (confusion matrix and ROC). Result: The results revealed that the Decision Tree algorithm with the Confusion Matrix and ROC evaluation obtained the highest result of 87%. The algorithm with the lowest result is KNN, which has an accuracy of 56%. The classification result for the neutral sentiment has a percentage of 57.1%, followed by negative sentiment at 26.8% and positive sentiment at 16.1%. The KNN algorithm is suitable for large and low-dimensional data, SVM is suitable for data with many features and clear separation between classes, and Naive Bayes is efficient for large datasets with many low-quality features. Additionally, the Random Forest algorithm could overcome overfitting and unbalanced data. Logistic regression is also suitable for linear data without assuming a certain distribution. The Decision Tree algorithm is good for complex data as it provides a visual explanation of predictions. In this study, the Decision Tree algorithm obtained high results because it has the best characteristics and is a linear technique. Novelty: This study found that based on the ROC method and the Confusion Matrix evaluation conducted, the Decision Tree algorithm is more accurate than the other algorithms studied.

Kata kunci

Jaringan kolaborasi para penulis

9 penulis · 17 tautan kepenulisan bersama · 3 lintas organisasi

Arahkan kursor atau ketuk sebuah nama untuk menyorot rekan penulisnya. Klik dua kali untuk membuka halaman penulis.

  • Universitas Buana Perjuangan Karawang
  • IPB University
  • Organisasi berbeda
  • Organisasi sama
  • Afiliasi tidak diketahui
  • Garis lebih tebal = lebih banyak artikel bersama · lingkaran lebih besar = lebih banyak artikel
Tampilkan sebagai tabel
Rekan penulisOrganisasiArtikel bersama
Salsa DesmaliaUniversitas Buana Perjuangan Karawang2
Kiki Ahmad BaihaqiUniversitas Buana Perjuangan Karawang2
Sony Hartono WijayaIPB University1
Yohanes Aris PurwantoIPB University1
Nahrowi NahrowiIPB University1

Afiliasi berasal dari OpenAlex; metadata OAI-PMH jurnal tidak memuatnya. Penulis tanpa ID OpenAlex dicocokkan berdasarkan nama, sehingga dua orang bisa tergabung atau satu orang bisa terpisah.

Sumber metadata: OAI-PMH (metadata jurnal) https://journal.unnes.ac.id/journals/sji/oai, pertama di-harvest 6 Nov 2026, terakhir terlihat 8 Nov 2026.
Metadata asli (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en">Classification Model of Public Sentiments About Electric Cars Using Machine Learning</dc:title>
	<dc:creator xml:lang="en">Romadoni, Nurul</dc:creator>
	<dc:creator xml:lang="en">Siregar, Amril Mutoi</dc:creator>
	<dc:creator xml:lang="en">Kusumaningrum, Dwi Sulistya</dc:creator>
	<dc:creator xml:lang="en">Rohana, Tatang</dc:creator>
	<dc:subject xml:lang="en">Classification</dc:subject>
	<dc:subject xml:lang="en">Electric car</dc:subject>
	<dc:subject xml:lang="en">Machine learning</dc:subject>
	<dc:subject xml:lang="en">Sentiment analysis</dc:subject>
	<dc:description xml:lang="en">Purpose: This research compared the accuracy level of six algorithms based on the ROC method and the Confusion Matrix evaluation on data regarding public sentiments towards electric cars.
Methods: Data collection was conducted for data sourced from TikTok. Next, the data underwent text preprocessing (data cleaning and case folding) and text processing (stemming, tokenizing, stopword removal, word frequency, word relation, TF-IDF, scoring, and labeling). Modeling was then conducted using supervised (labeled) algorithms consisting of the Support Vector Machine (SVM), Decision Tree, Naive Bayes, Random Forest, K-Neighbor, and Logistic Regression. Finally, an evaluation was conducted (confusion matrix and ROC).
Result: The results revealed that the Decision Tree algorithm with the Confusion Matrix and ROC evaluation obtained the highest result of 87%. The algorithm with the lowest result is KNN, which has an accuracy of 56%. The classification result for the neutral sentiment has a percentage of 57.1%, followed by negative sentiment at 26.8% and positive sentiment at 16.1%. The KNN algorithm is suitable for large and low-dimensional data, SVM is suitable for data with many features and clear separation between classes, and Naive Bayes is efficient for large datasets with many low-quality features. Additionally, the Random Forest algorithm could overcome overfitting and unbalanced data. Logistic regression is also suitable for linear data without assuming a certain distribution. The Decision Tree algorithm is good for complex data as it provides a visual explanation of predictions. In this study, the Decision Tree algorithm obtained high results because it has the best characteristics and is a linear technique.
Novelty: This study found that based on the ROC method and the Confusion Matrix evaluation conducted, the Decision Tree algorithm is more accurate than the other algorithms studied.</dc:description>
	<dc:publisher xml:lang="en">Universitas Negeri Semarang</dc:publisher>
	<dc:date>2024-05-14</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:type xml:lang="en">Peer-reviewed Article</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.unnes.ac.id/journals/sji/article/view/1309</dc:identifier>
	<dc:identifier>10.15294/sji.v11i2.1309</dc:identifier>
	<dc:source xml:lang="en">Scientific Journal of Informatics; Vol. 11 No. 2: Regular Issue; 303-314</dc:source>
	<dc:source>2407-7658</dc:source>
	<dc:source>2460-0040</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://journal.unnes.ac.id/journals/sji/article/view/1309/351</dc:relation>
	<dc:rights xml:lang="en">Copyright (c) 2024 Scientific Journal of Informatics</dc:rights>
</oai_dc:dc>