“…LITERATURE REVIEW The K-Nearest Neighbor (KNN) method is a simple but very effective machine learning algorithm, used in classification and regression (Zai, Sirait, Nainggolan, Sihombing, & Banjarnahor, 2023) (Istiadi, Rahman, & Wisnu, 2023). This algorithm works by predicting new data labels based on similarities with already known data (Adjani, Fauzia, & Juliane, 2023) (Arifuddin, Pinastawa, Anugraha, & Pradana, 2023) (Violita, Yanris, & Hasibuan, 2023). In principle, KNN identifies the 'k' nearest neighbors of the data points to be classified, based on a certain distance metric, such as Euclidean distance.…”