Authors:

I Made Surya Adi Palguna, Ngurah Agus Sanjaya ER

Abstract:

“Understanding public sentiment towards political figures is crucial for gauging their influence and impact. This study employs sentiment analysis to analyze Twitter data and assess the influence of political figures. Sentiment analysis, a computational exploration of expressed opinions, emotions, and sentience, allows insights into public perception on a large scale. This work leverages the K-Nearest Neighbor (KNN) algorithm, which classifies data based on its similarity to existing data points. Tweets undergo preprocessing, followed by TF-IDF weighting for keyword importance and cosine similarity calculations for comparing tweets to a labeled training dataset. By analyzing the nearest neighbors, sentiment values are assigned. The KNN model achieved an accuracy of 89%, a precision of 85%, and a recall of 88%, demonstrating its effectiveness in assessing sentiment and influence through Twitter data. This research contributes to the field of political communication by offering a robust method for analyzing public opinion and gauging the influence of political figures on social media platforms. Keywords: Sentiment Analysis, K-Nearest Neighbor, TF-IDF, Cosine Similarity”

Keywords

Sentiment Analysis, K-Nearest Neighbor, TF-IDF, Cosine Similarity

Downloads:

Download data is not yet available.

References

References Not Available

PDF:

https://jurnal.harianregional.com/jnatia/full-102518

Published

2024-01-30

How To Cite

PALGUNA, I Made Surya Adi; SANJAYA ER, Ngurah Agus. Analisis Sentimen Twitter Pengaruh Tokoh Politik dengan Menggunakan Metode K-Nearest Neighbor.Jurnal Nasional Teknologi Informasi dan Aplikasnya, [S.l.], v. 2, n. 2, p. 443-448, jan. 2024. ISSN 3032-1948. Available at: https://jurnal.harianregional.com/jnatia/id-102518. Date accessed: 28 Aug. 2025.

Citation Format

ABNT, APA, BibTeX, CBE, EndNote - EndNote format (Macintosh & Windows), MLA, ProCite - RIS format (Macintosh & Windows), RefWorks, Reference Manager - RIS format (Windows only), Turabian

Issue

Vol 2 No 2 (2024): JNATIA Vol. 2, No. 2, Februari 2024

Section

Articles

Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License