PERBANDINGAN ALGORITMA K-NEAREST NEIGHBOR DAN NAÏVE BAYES DALAM MEMPREDIKSI WAKTU KELULUSAN MAHASISWA
Keywords:
Graduation Time Prediction, Classification, Naïve Bayes, KNN, SMOTEAbstract
Students are an important aspect for higher education institutions, especially regarding the time of student graduation. Therefore, it is critical to know the prediction of the time length for completing studies. This study proposes creating a prediction system for student graduation rates; hence it could be a preventive measure for students to improve their learning process. This research used machine learning techniques to compare the K-Nearest Neighbor (KNN) and Naïve Bayes algorithms. The experiment aimed to determine the best model, such as the amount of data collection, the number of classification classes, and the handling of imbalanced classes. Based on all experiments, the KNN method achieved higher results than the Naïve Bayes method. Applying the SMOTE oversampling technique significantly increased the difference in evaluation scores (precision, recall, F1 score, and accuracy) between 12% and 41% in the Naïve Bayes and KNN methods. The results of the 4-class prediction model using the KNN method with SMOTE get a precision value of 79%, a recall value of 78%, an F1 score of 78%, and an accuracy of 78%. In comparison, the prediction results for eight classes using the KNN method with SMOTE get precision, recall, F1 Score, and accuracy values of 93%.
Downloads
Published
Issue
Section
License
Authors who publish with this journal agree to the following terms:
Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).