Skip to main navigation menu Skip to main content Skip to site footer

Articles

Vol. 11 No. 3 (2026): Kohesi: Jurnal Sains dan Teknologi, ISSN 3025-1311

KLASIFIKASI TINGKAT KESEHATAN IBU HAMIL MENGGUNAKAN METODE KNN

DOI:
https://doi.org/10.5281/zenodo.22047066
Submitted
August 21, 2026
Published
2026-08-21

Abstract

Pregnancy is a condition that requires regular health monitoring to determine the mother's health status and support early detection of potential health problems. This study aims to apply the K-Nearest Neighbor (KNN) method to classify the health status of pregnant women based on medical examination data. The variables used include age, gestational month, body weight, systolic blood pressure, diastolic blood pressure, patient symptoms or complaints, and hemoglobin (HB) level. The system was developed using MATLAB GUIDE R2015b with 150 training data and 50 testing data. The classification process consisted of data preprocessing, Euclidean distance calculation, determination of the three nearest neighbors (K=3), and classification based on the nearest neighbors. The classification categories consisted of Healthy, Less Healthy, and Unhealthy. The implementation results showed that the system was able to process data, perform classification, display a Confusion Matrix, and calculate Precision, Recall, and F1-Score. Testing on 50 testing data resulted in 41 correct predictions and 9 incorrect predictions, achieving an accuracy rate of 82%. These results indicate that the KNN method can be applied to assist in classifying the health status of pregnant women based on medical examination data.

References

  1. [1] E. Triana, Utami and A. D. Hartanto, “IMPLEMENTASI ALGORITMA K-NEAREST NEIGHBOR PADA APLIKASI DETEKSI RESIKO TINGGI PADA KEHAMILAN,” vol. 13, no. 1, 2023.
  2. [2] Y. Pinanda, W. F. Mahmudy, and E. Santoso, “Klasifikasi Risiko Penyakit pada Ibu Hamil menggunakan Metode Modified K-Nearest Neighbor ( MKNN ),” vol. 6, no. 5, pp. 2116–2121, 2022.
  3. [3] N. Made, A. Novitadewi, P. Sugiartawan, and Y. P. Fittryani, “Klasifikasi Data Penjualan Dengan Metode K-Nearest Neighbor Pada Pt. Terang Abadi Raya,” vol. 5, no. 1, pp. 11–20, 2022, doi: 10.33173/jsikti.173.
  4. [4] R. Maula and S. Bahri, “Penerapan Algoritma K-Nearest Neighbour pada Penyakit Jantung,” vol. 13, no. 1, pp. 42–51, 2024, doi: 10.14421/fourier.2024.131.42-51.
  5. [5] R. R. D. Frencis Matheos Sarimole, “KLASIFIKASI JENIS JAMUR MENGGUNAKAN EKSTRAKSI FITUR GLCM DAN K-NEAREST NEIGHBOR ( KNN ),” vol. 4, no. 3, pp. 286–290, 2022.
  6. [6] I. Sari, M. Anggrayani, and F. A. Fradela, “Pentingnya Antenatal Care Ibu Hamil sebagai Upaya Pencegahan Komplikasi Kehamilan dan Kejadian Stunting pada Bayi,” vol. 7, pp. 50–54, 2025.
  7. [7] F. Tanjung, I. Effendy, T. N. Utami, Asriwati, and Ramadhani Syafitri Nasution, “ANALYSIS OF FACTORS AFFECTING VISITS ANTENATAL CARE ( ANC ),” vol. 10, no. October 2023, 2024.

Similar Articles

1-10 of 70

You may also start an advanced similarity search for this article.