
PREDIKSI HASIL PEMILU LEGISLATIF MENGGUNAKAN ALGORITMA K-NEAREST NEIGHBOR BERBASIS BACKWARD ELIMINATION
Author(s) -
Achmad Saiful Rizal,
Moch. Lutfi
Publication year - 2020
Publication title -
jurnal resistor (rekayasa sistem komputer)
Language(s) - English
Resource type - Journals
eISSN - 2598-9650
pISSN - 2598-7542
DOI - 10.31598/jurnalresistor.v3i1.517
Subject(s) - legislature , k nearest neighbors algorithm , computer science , data mining , computation , research object , object (grammar) , sequence (biology) , order (exchange) , algorithm , artificial intelligence , political science , geography , law , finance , regional science , biology , economics , genetics
Elections in Indonesia from period to period have undergone some changes. Elections legislative candidates not determined voters, but instead became a political elite authority in accordance with the order of the list of legislative candidates and their number sequence. To perform a prediction one of them with data mining. Data mining can be applied in the political sphere for example to predict the results of the legislative election and others. K-nearest neighbor algorithm is one of the data mining algorithm that performs classification based on learning object against which are closest to the object. Election-related research has been done with the k-nearest neighbor algorithm, but accuracy is obtained that method is still too low, so it takes an additional algorithm to improve accuracy. In this study, the proposed method, namely the method of k-nearest neighbor method combined with backward elimination as a selection of features. The dataset that will be used in the study comes from the KPU Sidoarjo that has special attributes 1 and 13 regular attributes. From the results of the analysis and computation of some methods, it can be concluded that the method of k-nearest neighbor method combined with backward elimination produced some conclusions. First, of the 14 attributes in the dataset, retrieved 8 most influential attribute. Second, the best accuracy are of 96.03% when k = 2 and tested by 10 fold cross validation.