PERBANDINGAN ANALISIS KLASIFIKASI MENGGUNAKAN METODE K-NEAREST NEIGHBOR (K-NN) DAN MULTIVARIATE ADAPTIVE REGRESSION SPLINE (MARS) PADA DATA AKREDITASI SEKOLAH DASAR NEGERI DI KOTA SEMARANG

Published: .
Open Access

Citation Format:
Abstract

Classification methods have been developed and two of the existing are K-Nearest Neighbor (K-NN) and Multivariate Adaptive Regression Spline (MARS). The purpose of this research is comparing the classification of public elementary school accreditation in Semarang city with K-NN and MARS methods. This research using accreditation data with the result of eight accreditation components in public elementary school that has A accreditation (group 1) and B accreditation (group 2) in Semarang city. To evaluate the classification method used test statistic  Press’s Q, APER, specificity, and sensitivity. The best classification results of the K-NN method is when using K=5 because it produces the smallest error rate and obtained information that the correct classification data are 159 and the misclassification data are 9. The best classification result of the MARS method is when using combination BF=32, MI=2, MO=1 because it produces the smallest Generalized Cross Validation (GCV) and obtained information that the correct classification data are 164 and the misclassification data are 4. Based on analyze result, Press’s Q showed that both methods are good as classification or statistically significant to classify the public elementary school in Semarang city based of the accreditation. APER, specificity, and sensitivity showed that classify of public elementary school accreditation in Semarang city using MARS method is better than K-NN method.

Keywords: Classification, K-Nearest Neighbor (K-NN); Multivariate Adaptive Regression Spline (MARS); Classification evaluation

Article Metrics: