Diabetes is a disease that has serious implications for the health and overall well-being of individuals, and there are diverse perspectives within society regarding this condition, leading to prolonged debates. Twitter is a popular platform where public opinions are often shared, and sentiment analysis on Twitter can provide insights into users' perceptions of diabetes, whether positive, negative, or neutral, to understand the health literacy regarding obesity among Twitter users. Sentiment analysis was conducted using text mining methodology, with a total of 26,038 crawled tweets, resulting in a sample of 4,635 data points. Through the Naïve Bayes algorithm, the sentiment analysis yielded 22% positive sentiment, 14% negative sentiment, and 64% neutral sentiment. The accuracy rate achieved was 87%. The sentiment analysis of tweets related to diabetes using text mining leaned more towards neutral sentiment than negative or positive sentiment. The accuracy of the Naïve Bayes algorithm falls within the category of "Good Classification".Keywords: Sentiment Analysis; Text Mining; Twitter: Diabetes: Naïve Bayes. AbstrakDiabetes merupakan suatu penyakit yang berdampak serius terhadap kesehatan dan seluruh bagian tubuh penderitanya, banyak pandangan dari masyarakat terhadap penyakit diabetes yang menimbulkan perdebatan berkepanjangan. Twitter merupakan pilihan platform yang sering digunakan untuk memberikan opini publik, analisis sentimen di Twitter dapat memberikan gambaran persepsi pengguna terhadap diabetes baik secara positif, negatif ataupun netral untuk mengetahui literasi kesehatan terhadap persepsi obesitas pengguna platform Twitter. Analisis sentimen dilakukan dengan metode text maining dengan jumlah crawling sebanyak 26,038 dan menghasilkan sampel 4,635 data. Melalui algoritme Naïve Bayes hasil analisis sentimen didapatkan sentimen positif sebesar 22%, sentimen negatif sebesar 14%, dan sentimen netral sebesar 64%. Nilai akurasi dihasilkan sebesar 87%. Analisis sentimen tweet terkait diabetes menggunakan text maining lebih mengarah pada sentimen netral dibandingkan sentimen negatif dan sentimen positif. Nilai dari akurasi algoritme Naïve Bayes masuk dalam kategori “Good Classification”.
Copyrights © 2023