ANALISIS SENTIMEN PUBLIK TERHADAP PERUBAHAN KEPIMPINAN MENGGUNAKAN ALGORITMA LSTM DAN NAIVE BAYES PADA PLATFORM X

PUTRA, ALIEF RAMADHAN DWI (2025) ANALISIS SENTIMEN PUBLIK TERHADAP PERUBAHAN KEPIMPINAN MENGGUNAKAN ALGORITMA LSTM DAN NAIVE BAYES PADA PLATFORM X. S1 thesis, Universitas Mercu Buana Jakarta.

[img]
Preview
Text (HAL COVER)
01 COVER.pdf

Download (559kB) | Preview
[img] Text (BAB I)
02 BAB 1.pdf
Restricted to Registered users only

Download (104kB)
[img] Text (BAB II)
03 BAB 2.pdf
Restricted to Registered users only

Download (296kB)
[img] Text (BAB III)
04 BAB 3.pdf
Restricted to Registered users only

Download (463kB)
[img] Text (BAB IV)
05 BAB 4.pdf
Restricted to Registered users only

Download (279kB)
[img] Text (BAB V)
06 BAB 5.pdf
Restricted to Registered users only

Download (38kB)
[img] Text (DAFTAR PUSTAKA)
07 DFATAR PUSTAKA.pdf
Restricted to Registered users only

Download (173kB)
[img] Text (LAMPIRAN)
08 LAMPIRAN.pdf
Restricted to Registered users only

Download (613kB)

Abstract

Political sentiment analysis on social media has become a critical tool for understanding public perception during leadership transitions. This study compares the effectiveness of Long Short-Term Memory (LSTM) and Naïve Bayes algorithms in classifying sentiment related to Indonesia’s 2024 leadership change using data from platform X (formerly Twitter). A total of 5,942 Indonesianlanguage tweets were collected and labeled through both lexicon-based and manual annotation. Manual labeling was crucial in capturing nuanced, contextdependent sentiments often missed by automated methods. LSTM was applied for its strength in modeling sequential patterns in text, while Naïve Bayes served as a lightweight probabilistic baseline. Both models were evaluated using accuracy, precision, recall, and F1-score. Results show that LSTM achieved 72.02% accuracy on lexicon-based data and 78.47% on manually labeled data, while Naïve Bayes reached 61.13% and 78.64%, respectively. LSTM offered better generalization across sentiment classes—especially neutral—whereas Naïve Bayes excelled in detecting clearly polarized sentiment. These findings highlight the importance of model selection based on data characteristics and labeling strategy. The study contributes practical insights for political analysts and institutions aiming to monitor digital public opinion and inform evidence-based policymaking. Kata kunci: Sentiment analysis, Long Short-Term Memory (LSTM), Naive Bayes, Leadership, Social Media. Analisis sentimen politik di media sosial telah menjadi alat penting untuk memahami persepsi publik selama masa transisi kepemimpinan. Penelitian ini membandingkan efektivitas algoritma Long Short-Term Memory (LSTM) dan Naïve Bayes dalam mengklasifikasikan sentimen terkait pergantian kepemimpinan Indonesia pada tahun 2024 menggunakan data dari platform X (sebelumnya Twitter). Sebanyak 5.942 tweet berbahasa Indonesia dikumpulkan dan diberi label menggunakan dua pendekatan, yaitu berbasis leksikon dan pelabelan manual. Pelabelan manual terbukti penting untuk menangkap sentimen yang bersifat kontekstual dan halus, yang sering kali luput oleh metode otomatis. LSTM dipilih karena kemampuannya dalam memodelkan pola berurutan dalam teks, sementara Naïve Bayes digunakan sebagai model probabilistik ringan sebagai pembanding. Kedua model dievaluasi menggunakan metrik akurasi, presisi, recall, dan F1-score. Hasil menunjukkan bahwa LSTM mencapai akurasi sebesar 72,02% pada data leksikon dan 78,47% pada data manual, sementara Naïve Bayes mencapai 61,13% dan 78,64% secara berturut-turut. LSTM menunjukkan generalisasi yang lebih baik pada kelas netral, sedangkan Naïve Bayes unggul dalam mendeteksi sentimen yang lebih terpolarisasi. Temuan ini menegaskan pentingnya pemilihan model berdasarkan karakteristik data dan strategi pelabelan. Studi ini memberikan wawasan praktis bagi analis politik dan institusi dalam memantau opini publik digital serta mendukung pengambilan kebijakan berbasis data. Kata kunci: Analisis sentimen, Long Short-Term Memory (LSTM), Naive Bayes, Kepemimpinan, Media Sosial.

Item Type: Thesis (S1)
Call Number CD: FIK/INFO. 25 134
NIM/NIDN Creators: 41520010214
Uncontrolled Keywords: Analisis sentimen, Long Short-Term Memory (LSTM), Naive Bayes, Kepemimpinan, Media Sosial.
Subjects: 000 Computer Science, Information and General Works/Ilmu Komputer, Informasi, dan Karya Umum > 000. Computer Science, Information and General Works/Ilmu Komputer, Informasi, dan Karya Umum > 006 Special Computer Methods/Metode Komputer Tertentu > 006.7 Multimedia Systems/Sistem-sistem Multimedia > 006.75 Social Multimedia/Multimedia Social > 006.754 Online Social Network/Situs Jejaring Sosial, Sosial Media
100 Philosophy and Psychology/Filsafat dan Psikologi > 120 Epistemology/Epistemologi > 128 Humankind/Filsafat Kehidupan Manusia > 128.3 Attributes and Faculties/Atribut dan Fakultas > 128.37 Emotion/Emosi
300 Social Science/Ilmu-ilmu Sosial > 300. Social Science/Ilmu-ilmu Sosial > 303 Social Process/Proses Sosial > 303.3 Coordination and Control/Koordinasi dan Kontrol > 303.34 Leadership/Kepemimpinan
300 Social Science/Ilmu-ilmu Sosial > 300. Social Science/Ilmu-ilmu Sosial > 303 Social Process/Proses Sosial > 303.3 Coordination and Control/Koordinasi dan Kontrol > 303.38 Public Opinion/Opini Publik
500 Natural Science and Mathematics/Ilmu-ilmu Alam dan Matematika > 510 Mathematics/Matematika > 518 Numerical Analysis/Analisis Numerik, Analisa Numerik > 518.1 Algorithms/Algoritma
Divisions: Fakultas Ilmu Komputer > Informatika
Depositing User: khalimah
Date Deposited: 07 Aug 2025 08:17
Last Modified: 07 Aug 2025 08:17
URI: http://repository.mercubuana.ac.id/id/eprint/96659

Actions (login required)

View Item View Item