KLASIFIKASI TINGKAT PERCERAIAN BERDASARKAN FAKTOR PENYEBAB MENGGUNAKAN ALGORITMA K-NEAREST NEIGHBOR (KNN)

Authors

  • Agrinda Aulia Lubis Author
  • Harmayani Author

DOI:

https://doi.org/10.54314/jssr.v9i5.7288

Keywords:

K-Nearest Neighbor, classification, divorce, Sumatra Island, machine learning

Abstract

Divorce is a social phenomenon whose rate continues to rise in various regions of Indonesia and has become a shared concern for both the government and society, since it may give rise to social, psychological, and economic consequences for the individuals and families involved. Divorce is generally caused by several interrelated factors, namely economic problems, continuous domestic disputes, infidelity, and domestic violence (KDRT). This study aims to apply the K-Nearest Neighbor (KNN) algorithm to classify the level of divorce (Low, Medium, and High) based on these four causal factors. The data used are secondary data obtained from the Central Bureau of Statistics (BPS) covering ten provinces on Sumatra Island for the 2023-2025 period. Prior to classification, the data were normalized using the Min-Max Normalization method so that every attribute shared a comparable value range. The dataset was divided into 20 training data (2023-2024) and 10 testing data (2025), with the value of K determined using the formula K = √n, resulting in K = 5. The classification process was carried out by calculating the Euclidean Distance between the testing data and the entire training data, then determining the predicted class through majority voting among the five nearest neighbors. The classification model was implemented in a web-based application built with PHP and MySQL that supports dataset import, data normalization, KNN computation, and classification result display. The test results on the ten testing data for 2025 show that the system achieved an overall accuracy of 70%, with the best performance obtained for the Low class (recall of 100%), while the Medium and High classes still experienced misclassification due to the limited amount of training data in those classes. These results indicate that the KNN algorithm is capable of recognizing divorce patterns based on their causal factors and can be used as a decision-support tool related to the analysis of divorce rates on Sumatra Island.

Downloads

Download data is not yet available.

References

Akbar, et al. (2022). Penerapan Unified Modeling Language (UML) dalam Perancangan Sistem Informasi.

Fauzan, et al. (2023). Klasifikasi Faktor Penyebab Perceraian Menggunakan Algoritma K-Nearest Neighbor.

Husein, et al. (2022). Analisis Kualitas Informasi terhadap Kepuasan Pengguna Sistem Informasi.

Ilallah. (2025). Faktor-Faktor Penyebab Perceraian pada Rumah Tangga.

Irwanto, et al. (2022). Penerapan HTML dalam Pengembangan Struktur Halaman Website.

L. Aryani, et al. (2022). Penerapan Sistem Informasi dalam Pengelolaan Data Organisasi.

Nuraeni, et al. (2024). Penerapan Machine Learning Berbasis K-Nearest Neighbor untuk Klasifikasi Data.

Orizky, et al. (2022). Analisis Perbandingan Kinerja Web Server dalam Pengembangan Aplikasi Berbasis Web.

Panjaitan, et al. (2022). Klasifikasi Data

Menggunakan Metode K-Nearest Neighbor Berbasis Rapid Miner.

Permana, et al. (2023). Penerapan Algoritma K-Nearest Neighbor dalam Klasifikasi Data.

Ramadhan, et al. (2022). Penerapan Bahasa Pemrograman PHP dalam Pengembangan Sistem Informasi Berbasis Web.

Riyan Nugraha, et al. (2022). Analisis Penggunaan Web Browser dalam Mengakses Sistem Informasi Berbasis Website.

Silitonga, et al. (2025). Analisis Faktor-Faktor Penyebab Perceraian di Indonesia.

Srirahayu, et al. (2023). Penerapan Data Mining untuk Klasifikasi Data.

Sukardi, et al. (2022). Penerapan Basis Data dalam Pengelolaan Sistem Informasi Berbasis Web.

Sunaryanto, H., et al. (2022). Penerapan Metode Euclidean Distance pada Algoritma K-Nearest Neighbor.

Y. Aryani, et al. (2025). Penerapan UML dalam Perancangan Sistem Informasi Perpustakaan.

Yasin, et al. (2022). Penerapan Data Mining untuk Klasifikasi dan Prediksi Data.

Downloads

Published

2026-10-14

How to Cite

KLASIFIKASI TINGKAT PERCERAIAN BERDASARKAN FAKTOR PENYEBAB MENGGUNAKAN ALGORITMA K-NEAREST NEIGHBOR (KNN). (2026). JOURNAL OF SCIENCE AND SOCIAL RESEARCH, 9(5), 8148-8155. https://doi.org/10.54314/jssr.v9i5.7288

Most read articles by the same author(s)