Jurnal Penelitian Inovatif
Vol 5 No 4 (2025): JUPIN November 2025

Implementation of Split Sampling for Decision Tree and K-Nearest Neighbor Algorithms in the DKI Jakarta Legislative Election

Bambang Wisnu Widagdo (Universitas Pamulang, Indonesia)
Muhammad Rizky Fadillah (Universitas Pamulang, Indonesia)
Mochamad Adhari Adiguna (Universitas Pamulang, Indonesia)
Sudarno Wiharjo (Universitas Pamulang, Indonesia)
Murni Handayani (Universitas Pamulang, Indonesia)



Article Info

Publish Date
11 Nov 2025

Abstract

The 2009 legislative election was contested by 44 political parties, consisting of national and local parties. In the 2009 Legislative Election for DKI Jakarta, there were 2,268 candidates for the Regional House of Representatives (DPRD) from 44 parties competing for 94 seats in the DKI Jakarta Regional People's Representative Council. Data mining is a series of processes aimed at discovering added value in the form of information that has not been previously known manually from a database. The classification method can be used to predict the results of legislative elections. In this study, the author employs the Decision Tree and K-Nearest Neighbor classification algorithms. This research utilizes several data sampling techniques, namely Linear Sampling, Shuffled Sampling, and Stratified Sampling. The data split partition used in this study was 80% for training and 20% for testing. The software tool utilized was RapidMiner. The performance variables measured include Recall, Precision, and Accuracy. The results of this study indicate that, overall, Linear Split Sampling outperforms Shuffled Split Sampling and Stratified Split Sampling. For the Decision Tree algorithm, Linear Split Sampling achieved a Recall of 100%, Precision of 82.05%, and Accuracy of 98.46%. Shuffled Split Sampling recorded a Recall of 81.82%, Precision of 85.71%, and Accuracy of 98.46%. Meanwhile, Stratified Split Sampling obtained a Recall of 100%, Precision of 82.05%, and Accuracy of 97.80%. Meanwhile, for the K-Nearest Neighbor (KNN) algorithm, Linear Split Sampling achieved a Recall of 93.75%, Precision of 75%, and Accuracy of 97.36%. Shuffled Split Sampling recorded a Recall of 59.09%, Precision of 81.25%, and Accuracy of 97.36%. Stratified Split Sampling obtained a Recall of 31.58%, Precision of 85.71%, and Accuracy of 96.92%.

Copyrights © 2025






Journal Info

Abbrev

jupin

Publisher

Subject

Humanities Education Engineering Public Health Social Sciences

Description

Jurnal Penelitian Inovatif (JUPIN) merupakan sebuah jurnal ilmiah nasional yang mempublikasikan artikel hasil penelitian multidisiplin di berbagai bidang ilmu, seperti Teknik, Pendidikan, Ilmu Sosial Humaniora, Bahasa/Linguistik, Kesehatan, serta Ekonomi dan Bisnis. Jurnal Penelitian Inovatif ...