Text-based fake news detection is a crucial issue considering its negative impacts on society and individuals. One of the main impacts that has a significant and detrimental impact on society is disinformation, where false or misleading information can cause confusion and uncertainty in society. This can lead to misunderstandings and develop into riots in society which can lead to legal problems that are detrimental to society. In order to overcome this problem, a method is needed to detect fake news. This study aims to build a fake news detection method using machine learning, which is a technology widely used by researchers to detect and analyze past data. Various methods have been produced using machine learning, including the K-Nearest Neighbor (K-NN) method which is proposed as an effective solution to detect fake news. K-NN is a machine learning algorithm that works by classifying text based on its proximity to known data in feature space. This method is proposed because of its ability to handle non-linear data and its low complexity. The application of K-NN can increase the accuracy in detecting fake news by utilizing the characteristics of relevant text, thus helping in efforts to filter information and maintain the integrity of news circulating in the community. In a study conducted using the FakeNewsDetection dataset, the model evaluation results showed that KNN produced a Mean Absolute Error (MAE) of 0.011 and a Root Mean Squared Error (RMSE) of 0.077, better than the performance of other methods such as SVM and Neural Network.
Copyrights © 2025