Analysis and Implementation of a Hybrid Case-Based Reasoning and K-Nearest Neighbor Approach for Chronic Kidney Disease Prediction
DOI:
https://doi.org/10.35870/ijsecs.v6i1.6894Keywords:
Chronic Kidney Disease, Case-Based Reasoning, K-Nearest Neighbor, Hybrid Method, Prediction, Decision Support SystemAbstract
Chronic Kidney Disease (CKD) is a progressive deterioration of kidney function that frequently goes undetected in its early stages, posing a growing clinical concern — particularly among productive-age individuals whose diagnosis is often delayed until irreversible damage has occurred. Early and accurate prediction remains a pressing challenge, especially given the rising CKD incidence in this demographic linked to hypertension, diabetes, and shifting lifestyle patterns. This study developed a hybrid method combining Case-Based Reasoning (CBR) with weighted similarity and K-Nearest Neighbor (KNN) to improve prediction accuracy while preserving model interpretability. The dataset was obtained from the UCI Machine Learning Repository and filtered for productive-age individuals aged 15–64 years, yielding 288 instances after preprocessing. Attribute weighting was performed using Information Gain to reflect the varying diagnostic relevance of each variable, and inter-case similarity was measured through a weighted similarity approach. Classification was then carried out using KNN across multiple K values. At K = 2, the proposed method achieved an accuracy of 98.26%, with precision, recall, and F1-score each recorded at 0.983 — results that suggest the hybrid CBR-KNN approach is well-suited for deployment as a clinical decision support system for early CKD detection.
Downloads
References
Abdi, N. F., & Ahmadi, M. F. (2024). Klasifikasi penyakit ginjal kronis (CKD) dengan algoritma KNN dan Decision Tree ID3. Journal of Informatics and Advanced Computing (JIAC), 5(2), 52–57. https://doi.org/10.35814/jiac.v5i2.7189
Chowdhury, N. H., Reaz, M. B. I., Haque, F., Ahmad, S., Ali, S. H. M., A Bakar, A. A., & Bhuiyan, M. A. S. (2021). Performance analysis of conventional machine learning algorithms for identification of chronic kidney disease in type 1 diabetes mellitus patients. Diagnostics, 11(12), 2267. https://doi.org/10.3390/diagnostics11122267
Dana, Z., Naseer, A. A., Toro, B., & Swaminathan, S. (2024). Integrated machine learning and survival analysis modeling for enhanced chronic kidney disease risk stratification. arXiv. https://doi.org/10.48550/arXiv.2411.10754
Dipto, I. C., Islam, T., Rahman, H. M., & Rahman, M. A. (2020). Comparison of different machine learning algorithms for the prediction of coronary artery disease. Journal of Data Analysis and Information Processing, 8(2), 41–68. https://doi.org/10.4236/jdaip.2020.82003
Hossain, M. S., Ahmed, F., & Rahman, M. M. (2023). An intelligent case-based reasoning system for disease diagnosis. IEEE Access, 11, 45910–45922.
Hossen, M. J., Bannah, H., & Sadib, R. J. (2025). Early detection of chronic kidney disease using deep learning: A mini review. Frontiers in Digital Health, 7, 1732175. https://doi.org/10.3389/fdgth.2025.1732175
Iliyas, I. I., Boukari, S., & Gital, A. Y. U. (2025). Recent trends in prediction of chronic kidney disease using different learning approaches: A systematic literature review. Journal of Medical Artificial Intelligence, 8, 62. https://doi.org/10.21037/jmai-24-256
Khan, N., Raza, M. A., Mirjat, N. H., Balouch, N., Abbas, G., Yousef, A., & Touti, E. (2023). Unveiling the predictive power: A comprehensive study of machine learning models for anticipating chronic kidney disease. Frontiers in Artificial Intelligence, 6, 1339988. https://doi.org/10.3389/frai.2023.1339988
Kumar, A., Sharma, G. K., & Prakash, U. M. (2021). Disease prediction and doctor recommendation system using machine learning approaches. International Journal for Research in Applied Science & Engineering Technology (IJRASET), 9, 34–44.
Kumar, P., Singh, A., & Kumar, R. (2023). Chronic kidney disease prediction using machine learning algorithms. International Journal for Research in Applied Science & Engineering Technology (IJRASET), 11(5). https://doi.org/10.22214/ijraset
Li, Y., & Padman, R. (2025). Enhancing end-stage renal disease outcome prediction: A multisourced data-driven approach. Journal of the American Medical Informatics Association, 33(1), 26–36. https://doi.org/10.1093/jamia/ocaf118
Nguycharoen, N. (2024). Explainable machine learning system for predicting chronic kidney disease in high-risk cardiovascular patients. arXiv. https://doi.org/10.48550/arXiv.2404.11148
Siregar, M. R., Hartama, D., & Solikhun, S. (2025). Optimizing the KNN algorithm for classifying chronic kidney disease using GridSearchCV. JITK (Jurnal Ilmu Pengetahuan dan Teknologi Komputer), 10(3), 680–689. https://doi.org/10.33480/jitk.v10i3.6214
Sivakumar, R., & Vijayalakshmi, R. (2024). A survey of predicting CKD using machine learning. International Journal of Intelligent Systems and Applications in Engineering, 12(4), 3176–3182.
Tusar, M. T. H. K., Islam, M. T., & Raju, F. I. (2022, March 9–10). Detecting chronic kidney disease (CKD) at the initial stage: A novel hybrid feature-selection method and robust data preparation pipeline for different ML techniques. In Proceedings of the 2022 5th International Conference on Computing and Informatics (ICCI) (pp. 400–407). IEEE. https://doi.org/10.1109/ICCI54321.2022.9756094
Vásquez-Morales, G. R., Martinez-Monterrubio, S. M., Moreno-Ger, P., & Recio-Garcia, J. A. (2019). Explainable prediction of chronic renal disease in the Colombian population using neural networks and case-based reasoning. IEEE Access, 7, 152900–152910. https://doi.org/10.1109/ACCESS.2019.2948430
Yang, W., Ahmed, N., & Barczak, A. L. (2024). Comparative analysis of machine learning algorithms for CKD risk prediction. IEEE Access, 12, 171205–171220. https://doi.org/10.1109/ACCESS.2024.3499355
Zhu, H., Qiao, S., Zhao, D., Wang, K., Wang, B., Niu, Y., Shang, S., Dong, Z., Zhang, W., Zheng, Y., & Chen, X. (2024). Machine learning model for cardiovascular disease prediction in patients with chronic kidney disease. Frontiers in Endocrinology, 15, 1390729. https://doi.org/10.3389/fendo.2024.1390729.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Hananing Sumaningdiah Larasati, Shella Sukma Dewi Waramena, Wulan Pahira

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
1. Copyright Retention and Open Access License
Authors retain copyright of their work and grant the journal non-exclusive right of first publication under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license allows unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
2. Rights Granted Under CC BY 4.0
Under this license, readers are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, including commercial use
- No additional restrictions — the licensor cannot revoke these freedoms as long as license terms are followed
3. Attribution Requirements
All uses must include:
- Proper citation of the original work
- Link to the Creative Commons license
- Indication if changes were made to the original work
- No suggestion that the licensor endorses the user or their use
4. Additional Distribution Rights
Authors may:
- Deposit the published version in institutional repositories
- Share through academic social networks
- Include in books, monographs, or other publications
- Post on personal or institutional websites
Requirement: All additional distributions must maintain the CC BY 4.0 license and proper attribution.
5. Self-Archiving and Pre-Print Sharing
Authors are encouraged to:
- Share pre-prints and post-prints online
- Deposit in subject-specific repositories (e.g., arXiv, bioRxiv)
- Engage in scholarly communication throughout the publication process
6. Open Access Commitment
This journal provides immediate open access to all content, supporting the global exchange of knowledge without financial, legal, or technical barriers.
