Optimasi K-Nearest Neighbor dengan Particle Swarm Optimization pada Klasifikasi Pelanggan Listrik Rumah Tangga Bersubsidi
DOI:
https://doi.org/10.26905/jtmi.v11i1.14661Keywords:
Data Mining, Classification, K-Nearest Neighbor, Particle Swarm Optimization, Electricity SubsidyAbstract
This research optimizes the K-Nearest Neighbor (KNN) method using Particle Swarm Optimization (PSO) for classifying household electricity subsidy power in Gorontalo Province. Using P3KE data with 98,859 records, this research aims to improve the accuracy of classifying 450 VA and 900 VA power for the electricity subsidy program. The research methodology includes data preprocessing, KNN implementation, parameter optimization using PSO, and model evaluation using a confusion matrix. The research results show an accuracy improvement of 1.3% from 83.53% to 84.83% after optimization. The optimized model showed an increase in precision for the 900 VA class from 0.58 to 0.71, although there was a decrease in recall from 0.32 to 0.25. For the 450 VA class, the model maintained a precision of 0.86 with an increase in recall from 0.95 to 0.98.
Downloads
References
S. A. Utiarahman and H. Dalai, “Penerapan Metode Analitycal Hierarchy Process dalam Sistem Pendukung Keputusan Kelayakan Rumah Tangga Penerima Listrik Gratis,” JURIKOM (Jurnal Riset Komputer), vol. 9, no. 5, p. 1659, Oct. 2022, doi: 10.30865/jurikom.v9i5.4857.
Kementerian ESDM, “PERMEN energi dan Sumber Daya Mineral tentang Pelaksanaan Usaha Ketenagalistrikan,” 2021.
Kementerian ESDM, “PERMEN ESDM tentang Mekanisme Pemberian Subsidi Tarif Tenaga Listrik Untuk Rumah Tangga.” [Online]. Available: www.peraturan.go.id
Siaran Pers, “Cek Golongan Tarif Listrik PLN,” https://web.pln.co.id/media/2022/06/cek-golongan-tarif-listrik-pln-di-sini-kamu-pelanggan-listrik-yang-dapat-subsidi.
K. Wisnubroto, “Ketentuan Baru Subsidi Listrik 2021,” https://indonesia.go.id/.
V. Setiawan, “Subsidi Listrik RI Tahun 2023 Tembus Rp67,42 Triliun,” https://www.cnbcindonesia.com/.
J. T. Samudra, R. Rosnelly, and Z. Situmorang, “Comparative Analysis of Support Vector Machine and Perceptron In The Classification of Subsidized Fuel Receipts,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 7, no. 3, pp. 652–656, Jun. 2023, doi: 10.29207/resti.v7i3.4731.
A. De Wibowo Muhammad Sidik, I. Himawan Kusumah, A. Suryana, M. Artiyasa, and A. Pradiftha Junfithrana, “Gambaran Umum Metode Klasifikasi Data Mining,” vol. 2, no. 2, pp. 34–38, 2020.
A. Setiawan, “Perbandingan Penggunaan Jarak Manhattan, Jarak Euclid, dan Jarak Minkowski dalam Klasifikasi Menggunakan Metode KNN pada Data Iris,” Jurnal Sains dan Edukasi Sains, vol. 5, no. 1, pp. 28–37, May 2022, doi: 10.24246/juses.v5i1p28-37.
M. M. Baharuddin, H. Azis, and T. Hasanuddin, “Analisis Performa Metode K-Nearest Neighbor Untuk Identifikasi Jenis Kaca,” ILKOM Jurnal Ilmiah, vol. 11, no. 3, pp. 269–274, Dec. 2019, doi: 10.33096/ilkom.v11i3.489.269-274.
D. Gustian, F. Sembiring, R. Amelia, E. Nurhasanah, S. Waelah, and N. Anggraeni, “Comparison Data Mining based on Optimization Algorithms in Receiving Electricity Subsidies,” in 6th International Conference on Computing, Engineering, and Design, ICCED 2020, Institute of Electrical and Electronics Engineers Inc., Oct. 2020. doi: 10.1109/ICCED51276.2020.9415844.
M. Jannah, S. Salsabila, and N. Faiza, “Classification of Receiving Electricity Subsidy Assistance in Blang Panyang Village Using the K-NN (K-Nearest Neighbor) Method,” 2024. [Online]. Available: http://ojs.unimal.ac.id/jacka
Y. M. Hutahaean and A. W. Wijayanto, “Klasifikasi Rumah Tangga Penerima Subsidi Listrik di Provinsi Gorontalo Tahun 2019 dengan Metode K-Nearest Neighbor dan Support Vector Machine,” Jurnal Sistem dan Teknologi Informasi (JustIN), vol. 10, no. 1, p. 63, Jan. 2022, doi: 10.26418/justin.v10i1.51210.
Kementerian Energi dan Sumber Daya Mineral, “Peraturan Menteri Energi dan Sumber Daya Mineral Nomor 8 Tahun 2023 tentang Perubahan Kelima Atas Peraturan Menteri Energi dan Sumber Daya Mineral Nomor 28 Tahun 2016 tentang Tarif Tenaga Listrik Yang Disediakan Oleh PT Perusahaan Listrik Negara (Persero),” https://jdih.esdm.go.id/index.php/web/result/1561/detail.
V. K. Ningsih and S. Syalikha, “Implementasi Subsidi Listrik untuk Mendorong Pencapaian SDGs Tujuan 7,” Journal of Economics, Assets, and Evaluation, vol. 1, no. 4, Jun. 2024, doi: 10.47134/jeae.v1i4.366.
S. Zhang, “Cost-sensitive KNN classification,” Neurocomputing, vol. 391, pp. 234–242, May 2020, doi: 10.1016/j.neucom.2018.11.101.
H. Basri, H. Darwis, F. Umar, and A. History, “Klasifikasi Daun Herbal Menggunakan K-Nearest Neighbor dan Convolutional Neural Network dengan Ekstraksi Fourier Descriptor,” JTMI Jurnal Teknologi dan Manajemen Informatika, vol. 9, no. 2, pp. 79–90, Dec. 2023, doi: 10.26905/jtmi.v9i2.10350.
M. A. Imron and B. Prasetiyo, “Improving Algorithm Accuracy K-Nearest Neighbor Using Z-Score Normalization and Particle Swarm Optimization to Predict Customer Churn,” 2020.
Z. Yong, Y. Li-juan, Z. Qian, and S. Xiao-yan, “Multi-objective optimization of building energy performance using a particle swarm optimizer with less control parameters,” Journal of Building Engineering, vol. 32, Nov. 2020, doi: 10.1016/j.jobe.2020.101505.
H. T. Rauf, U. Shoaib, M. I. Lali, M. Alhaisoni, M. N. Irfan, and M. A. Khan, “Particle Swarm Optimization with Probability Sequence for Global Optimization,” IEEE Access, vol. 8, pp. 110535–110549, 2020, doi: 10.1109/ACCESS.2020.3002725.
Y. Pipiet Sugandhi, B. Warsito, and A. Rachman Hakim, “Prediksi Harga Saham Harian Menggunakan Cascade Forward Neural Network (CFNN) dengan Particle Swarm Optimization (PSO),” 2019.
B. F. Rochman, A. Rahim, and T. A. Y. Siswa, “Optimasi Algoritma KNN dengan Parameter K dan PSO Untuk Klasifikasi Status Gizi Balita,” JURNAL MEDIA INFORMATIKA BUDIDARMA, vol. 8, no. 3, p. 1609, Jul. 2024, doi: 10.30865/mib.v8i3.7841.
H. Rasmita Ngemba et al., “Penerapan Algoritma K-Nearest Neighbor untuk Menentukan Potensi Ekspor Komoditas Pertanian di Provinsi Sulawesi Tengah,” JTMI Jurnal Teknologi dan Manajemen Informatika, vol. 9, no. 2, pp. 151–160, Dec. 2023, doi: 10.26905/jtmi.v9i2.10235.
F. Wibowo et al., “Klasifikasi Tanaman Beringin (Ficus Bernjamina) Berdasarkan Citra Daun Menggunakan Algoritma K-Nearest Neighbors,” JTMI Jurnal Teknologi dan Manajemen Informatika, vol. 7, no. 2, pp. 131–138, Feb. 2021, doi: 10.26905/jtmi.v7i2.6758.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Jurnal Teknologi dan Manajemen Informatika

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
(1)Â Copyright of the published articles will be transferred to the journal as the publisher of the manuscripts. Therefore, the author confirms that the copyright has been managed by the journal.
(2) Publisher of JTMI: Jurnal Teknologi dan Manajemen Informatika is University of Merdeka Malang.
(3) The copyright follows Creative Commons Attribution–ShareAlike License (CC BY SA): This license allows to Share — copy and redistribute the material in any medium or format, Adapt — remix, transform, and build upon the material, for any purpose, even commercially.