Melola Discovery

← Melola Discovery

Akses terbuka Jurnal SINTA 3

Analisis Sentimen Publik Debat Pilkada Pamekasan menggunakan BERT

SemanTIK: Teknik Informasi · Vol. 11 No. 2 (2025)

DOI
10.55679/semantik.v11i2.152
ISSN
2502-8928, 2460-1446
Terbit
2025-10-14
Penerbit
Informatics Engineering Department of Halu Oleo University
Bahasa
eng
Lisensi
creativecommons.org/licenses/by-sa/4.0

Abstrak

Pemilihan kepala daerah merupakan momen penting dalam demokrasi yang memunculkan beragam opini publik di media sosial. Debat calon bupati dan wakil bupati Pamekasan tahun 2024 menjadi perhatian masyarakat dan menghasilkan banyak komentar daring. Penelitian ini bertujuan untuk menganalisis sentimen publik terhadap debat tersebut menggunakan pendekatan deep learning berbasis transformer. Data penelitian berupa 818 komentar dari YouTube dan TikTok yang diperoleh melalui web scraping. Tahapan penelitian meliputi pembersihan data, case folding, tokenisasi, serta terjemahan. Proses pelabelan sentimen dilakukan dengan TextBlob, sedangkan klasifikasi menggunakan model DistilBERT yang telah di-fine-tune. Hasil penelitian menunjukkan model mampu mengklasifikasikan komentar menjadi tiga kategori, yaitu positif, netral, dan negatif, dengan akurasi 80% serta F1-score tertinggi 0,91 pada kelas positif. Sebagian besar komentar tergolong netral (44,03%), diikuti positif (37,03%) dan negatif (18,96%). Temuan ini menunjukkan bahwa respon publik cenderung biasa tanpa ekspresi emosional yang kuat. Penelitian ini menyimpulkan bahwa model berbasis transformer efektif untuk menganalisis opini publik dalam konteks politik lokal, sehingga dapat membantu pengambil kebijakan, pengamat politik, maupun tim kampanye memahami persepsi masyarakat secara lebih cepat dan akurat. Regional elections are a crucial moment in democracy that generate diverse public opinions on social media. The 2024 Pamekasan regent and deputy regent candidate debate attracted public attention and sparked many online comments. This study aims to analyze public sentiment toward the debate using a transformer-based deep learning approach. The dataset consists of 818 comments collected from YouTube and TikTok through web scraping. The research process included data cleaning, case folding, tokenization, and translation. Sentiment labeling was carried out using TextBlob, while classification employed a fine-tuned DistilBERT model. The results show that the model successfully categorized comments into three sentiment classes—positive, neutral, and negative—with an accuracy of 80% and the highest F1-score of 0.91 in the positive class. Most comments were classified as neutral (44.03%), followed by positive (37.03%) and negative (18.96%). These findings indicate that the majority of the public responded in a neutral manner without strong emotional bias. This study concludes that transformer-based models are effective in analyzing public opinion in local political contexts, providing valuable insights for policymakers, political observers, and campaign teams to better understand community perceptions quickly and accurately.

Kata kunci

Jaringan kolaborasi para penulis

3 penulis · 3 tautan kepenulisan bersama

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

  • Universitas Islam Madura
  • 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

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://semantik.uho.ac.id/index.php/journal/oai, pertama di-harvest 26 Okt 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-US">Analisis Sentimen Publik Debat Pilkada Pamekasan menggunakan BERT</dc:title>
	<dc:creator>Mailah, Imamah</dc:creator>
	<dc:creator>Moh. Aminollah Hamzah</dc:creator>
	<dc:creator>Hozairi</dc:creator>
	<dc:subject xml:lang="en-US">Analisis Sentimen</dc:subject>
	<dc:subject xml:lang="en-US">BERT</dc:subject>
	<dc:subject xml:lang="en-US">debat politik</dc:subject>
	<dc:subject xml:lang="en-US">DistilBERT</dc:subject>
	<dc:subject xml:lang="en-US">Deep Learning</dc:subject>
	<dc:description xml:lang="en-US">Pemilihan kepala daerah merupakan momen penting dalam demokrasi yang memunculkan beragam opini publik di media sosial. Debat calon bupati dan wakil bupati Pamekasan tahun 2024 menjadi perhatian masyarakat dan menghasilkan banyak komentar daring. Penelitian ini bertujuan untuk menganalisis sentimen publik terhadap debat tersebut menggunakan pendekatan deep learning berbasis transformer. Data penelitian berupa 818 komentar dari YouTube dan TikTok yang diperoleh melalui web scraping. Tahapan penelitian meliputi pembersihan data, case folding, tokenisasi, serta terjemahan. Proses pelabelan sentimen dilakukan dengan TextBlob, sedangkan klasifikasi menggunakan model DistilBERT yang telah di-fine-tune. Hasil penelitian menunjukkan model mampu mengklasifikasikan komentar menjadi tiga kategori, yaitu positif, netral, dan negatif, dengan akurasi 80% serta F1-score tertinggi 0,91 pada kelas positif. Sebagian besar komentar tergolong netral (44,03%), diikuti positif (37,03%) dan negatif (18,96%). Temuan ini menunjukkan bahwa respon publik cenderung biasa tanpa ekspresi emosional yang kuat. Penelitian ini menyimpulkan bahwa model berbasis transformer efektif untuk menganalisis opini publik dalam konteks politik lokal, sehingga dapat membantu pengambil kebijakan, pengamat politik, maupun tim kampanye memahami persepsi masyarakat secara lebih cepat dan akurat.
Regional elections are a crucial moment in democracy that generate diverse public opinions on social media. The 2024 Pamekasan regent and deputy regent candidate debate attracted public attention and sparked many online comments. This study aims to analyze public sentiment toward the debate using a transformer-based deep learning approach. The dataset consists of 818 comments collected from YouTube and TikTok through web scraping. The research process included data cleaning, case folding, tokenization, and translation. Sentiment labeling was carried out using TextBlob, while classification employed a fine-tuned DistilBERT model. The results show that the model successfully categorized comments into three sentiment classes—positive, neutral, and negative—with an accuracy of 80% and the highest F1-score of 0.91 in the positive class. Most comments were classified as neutral (44.03%), followed by positive (37.03%) and negative (18.96%). These findings indicate that the majority of the public responded in a neutral manner without strong emotional bias. This study concludes that transformer-based models are effective in analyzing public opinion in local political contexts, providing valuable insights for policymakers, political observers, and campaign teams to better understand community perceptions quickly and accurately.</dc:description>
	<dc:publisher xml:lang="en-US">Informatics Engineering Department of Halu Oleo University</dc:publisher>
	<dc:date>2025-10-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-US">Peer-reviewed Article</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://semantik.uho.ac.id/index.php/journal/article/view/152</dc:identifier>
	<dc:identifier>10.55679/semantik.v11i2.152</dc:identifier>
	<dc:source xml:lang="en-US">SemanTIK : Teknik Informasi; Vol. 11 No. 2 (2025): Vol. 11 No. 2 (2025): SemanTIK Teknik Informasi</dc:source>
	<dc:source>2502-8928</dc:source>
	<dc:source>2460-1446</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://semantik.uho.ac.id/index.php/journal/article/view/152/36</dc:relation>
	<dc:rights xml:lang="en-US">Copyright (c) 2025 Imamah Mailah, Moh. Aminollah Hamzah, Hozairi</dc:rights>
	<dc:rights xml:lang="en-US">https://creativecommons.org/licenses/by-sa/4.0</dc:rights>
</oai_dc:dc>