ANALYSIS OF FAKE NEWS DURING THE 2024 INDONESIAN PRESIDENTIAL ELECTION USING K-NEAREST NEIGHBOR(KNN)
Hikam, Arief Fathul
(2025)
ANALYSIS OF FAKE NEWS DURING THE 2024 INDONESIAN PRESIDENTIAL ELECTION USING K-NEAREST NEIGHBOR(KNN).
S1 Undergraduate
thesis, Universitas Darussalam Gontor.
The 2024 Presidential General Election will be a crucial moment in Indonesian democracy. However, the spread of fake news (hoaxes) is increasingly widespread and has a negative impact on public opinion and a healthy election process. This research aims to develop a fake news classification system using the K-nearest neighbor (KNN) method. The data used comes from the Turn Back Hoax site by MAFINDO (Indonesian Anti-Defamation Society) which provides verified news sources that are correct and have labeled false news circulating in the community. The classification process involves data pre-processing stages, such as tokenization, removal of meaningless words (stopwords). ), and originate. Next, data features are extracted using the TF-IDF method to improve classification quality. Based on the tests carried out, the KNN model managed to achieve an accuracy of 97%, which shows the effectiveness of this method in detecting fake news. The results of this research can provide practical solutions to mitigate the spread of hoaxes, especially in the election context, and encourage more informed voter participation.