ANALISIS AKTOR PENENTU DAN PREDIKSI JENIS KONTRASEPSI PADA AKSEPTOR KB MENGGUNAKAN ALGORITMA RANDOM FOREST
DOI:
https://doi.org/10.46880/mtk.v12i2.5960Keywords:
Contraception, Cross Validation, Feature Importance, Prediction System, Random ForestAbstract
The Family Planning (KB) program aims to control population growth, yet the high discontinuation rate due to mismatched contraceptive choices remains a major challenge in the field. Therefore, this study aims to develop an objective contraceptive prediction model using the Random Forest algorithm to minimize the risk of program failure. The methodology involved processing 4,500 acceptor records balanced into 9 contraceptive classes with 12 demographic variables, optimized via GridSearchCV, and evaluated using 5-Fold Cross Validation. The results indicate that the model operates stably with an average accuracy of 78.87%, achieving the best performance in the Fold-1 test at 81.67%. The model also demonstrated optimal recognition for the MOP and MAL classes (F1-Score 0.98), proving the algorithm's reliability in identifying classes with highly distinctive characteristics despite data overlap challenges within the Injectable and Pill classes. Feature Importance analysis reveals that Age (22.60%), Gender (14.39%), and Age at Marriage (12.44%) are the most dominant determining factors. This prediction model is implemented in a Flask application, serving as a practical decision-support tool for healthcare workers to provide instant, transparent, and targeted contraceptive recommendations.
References
Badan Pusat Statistik Provinsi Nusa Tenggara Timur, “Statistik Sosial dan Kependudukan Provinsi Nusa Tenggara Timur Social and Demography Statistics of Nusa Tenggara Timur Province,” 2022. Accessed: Oct. 08, 2025. [Online]. Available: https://ntt.bps.go.id/id/publication/2023/06/15/9318df0e993ae76e1edcae45/statistik-sosial-dan-kependudukan-provinsi-nusa-tenggara-timur-2022.html
V. A. Simanjuntak and R. Hasibuan, “Faktor Penggunaan Metode Kontrasepsi Jangka Panjang (MKJP),” Jurnal Kebidanan Malakbi, vol. 5, no. 2, p. 66, Aug. 2024, doi: 10.33490/b.v5i2.786.
K. E. Haseli, A. A. Adu, and D. S. Tirra, “Faktor-Faktor Yang Berhubungan Dengan Penggunaan Metode Kontrasepsi Jangka Panjang Pada Wanita Usia Subur,” Artikel Penelitian Jurnal Kesehatan, vol. 12, no. 2, 2023, doi: 10.37048/kesehatan.v12i2.131.
J. A. Lubis, L. Barus, P. Studi, S.-1 Kebidanan, S. Tingi, and I. Kesehatan, “Faktor-Faktor Yang Berhubungan Dengan Kejadian Drop Out Alat Kon-trasepsi Suntik Di Poskesdes Sion Timur II Tahun 2020,” 2020. Accessed: Oct. 08, 2025. [Online]. Available: https://www.midwifery.jurnalsenior.com/index.php/ms/article/view/39/40
M. Santoso, M. Zydan K, I. Iwan, and M. Mudrika, “Prediksi Risiko Penyakit Jantung Sederhana Menggunakan Algoritma Random Forest Classifier Dengan Data Gaya Hidup Siswa,” Jurnal Mana-jamen Informatika Jayakarta, vol. 5, no. 4, p. 311, Dec. 2025, doi: 10.52362/jmijayakarta.v5i4.2102.
A. Y. Agusyul and F. Firmansyah, “Prediksi Penya-kit Jantung Menggunakan Algoritma Random For-est,” Jurnal Minfo Polgan, vol. 12, no. 2, Nov. 2023, doi: 10.33395/jmp.v12i2.13214.
M. Mahendra Alvanof and R. Kesuma Dinata, “Pen-erapan Algoritma Random Forest dalam Deteksi dan Klasifikasi Ransomware,” 2024. Accessed: Jul. 10, 2026. [Online]. Available: https://jurnal.uniki.ac.id/index.php/jet/article/view/488
Herianto, Ahmad Rofi’i, and Ribut Julianto, “Prediksi Kelahiran Bayi Berbasis Sistem Informasi Menggunakan Machine Learning,” 2025, Accessed: Oct. 10, 2025. [Online]. Available: https://journal.univwirabuana.ac.id/index.php/jukes/article/view/213
N. R. Febriyanti, K. Kusrini, and A. D. Hartanto, “Analisis Perbandingan Algoritma SVM, Random Forest dan Logistic Regression untuk Prediksi Stunt-ing Balita,” Edumatic: Jurnal Pendidikan Informat-ika, vol. 9, no. 1, pp. 149–158, Apr. 2025, doi: 10.29408/edumatic.v9i1.29407.
M. Aqil Zidane et al., “Penilaian Komparatif Metode Klasifikasi Neural Network Dan Random Forest Un-tuk Knowledge Discovery Pada Penyakit Diabetes,” 2025. [Online]. Available: https://www.kaggle.com/datasets/alextebo
E. Sahelvi, P. Cikita, R. M. Sapitri, R. Rahmaddeni, and L. Efrizoni, “Perbandingan Algoritma K-Nearest Neighbors dan Random Forest untuk Rekomendasi Gaya Hidup Sehat dalam Mencegah Penyakit Jan-tung,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 5, no. 3, pp. 830–840, Jun. 2025, doi: 10.57152/malcom.v5i3.1972.
R. Harahap, M. Irpan, M. Azzuhri Dinata, and L. Efrizoni, “Perbandingan Algoritma Random Forest Dan Xgboost Untuk Klasifikasi Penyakit Paru-Paru Berdasarkan Data Demografi Pasien,” 2024. Ac-cessed: Jul. 10, 2026. [Online]. Available: https://ejournal.pppmitpa.or.id/index.php/betrik/article/view/231
Kementerian Kesehatan Republik Indonesia, Pe-doman Pelayanan Kontrasepsi. Jakarta: Kementerian Kesehatan RI, 2021. Accessed: Nov. 19, 2025. [Online]. Available: https://repository.kemkes.go.id/book/571
F. Afifah Nurullah, “Continuing Medical Education Akreditasi PB IDI-2 SKP Perkembangan Metode Kontrasepsi di Indonesia.” doi: 10.55175/cdk.v48i3.1335.
Leo Breiman, “randomforest2001,” Jan. 2001.
N. Nur, S. Situju, H. Setiawan, and T. Kristanto, Machine Learning. 2025. [Online]. Available: https://www.researchgate.net/publication/394364101
F. Pedregosa Fabianpedregosa et al., “Scikit-learn: Machine Learning in Python Gaël Varoquaux Ber-trand Thirion Vincent Dubourg Alexandre Passos Pedregosa, Varoquaux, Gramfort Et AL. Matthieu Perrot,” 2011. [Online]. Available: http://scikit-learn.sourceforge.net.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Mario Edmon Gasa, Tri Ana Setyarini, Dewi Anggraini

This work is licensed under a Creative Commons Attribution 4.0 International License.









