Journal of Computer Science and Informatics Engineering
Vol 5 No 3 (2026): July

Threshold Optimized Random Forest and XGBoost with SHAP for Low Birth Length Risk Prediction

Rian andi saputra (Mercu Buana University Yogyakarta)
Albert Yakobus Chandra (Mercu Buana University Yogyakarta)



Article Info

Publish Date
31 Jul 2026

Abstract

Stunting is a chronic nutritional disorder that impairs children's cognitive development and longterm productivity, making early risk identification essential. However, previous studies have mainly focused on stunting classification or conventional machine learning models, with limited attention to integrating probability threshold optimization and explainable artificial intelligence (XAI) for low birth length risk prediction. This study proposes a predictive framework using Random Forest (RF) and XGBoost based on 249,626 valid records from the 2024 Indonesian Nutritional Status Survey (SSGI), where low birth length was defined as a birth length below 48 cm. The models were optimized through hyperparameter tuning, probability threshold optimization, Stratified 5-Fold Cross Validation, and SHAP analysis. Evaluation on 10,000 testing records showed that Random Forest accuracy increased from 76.76% to 78.58%, while XGBoost achieved the highest accuracy of 84.07% at a threshold of 0.79, although recall decreased to 27%. SHAP identified birth weight as the most influential predictor. These findings demonstrate that threshold optimization improves predictive accuracy, while SHAP enhances model interpretability to support early screening and clinical decision-making for low birth length risk

Copyrights © 2026






Journal Info

Abbrev

cosie

Publisher

Subject

Computer Science & IT

Description

Artificial Intelligence Machine Learning Natural Language Processing Computer Vision Text Speech Text Mining Data mining Cryptography Data visualization Expert System Deep Learning Fuzzy Logic IoT and smart environments Neural Networks Pattern Recognition Image Processing Optimization Digital Signal ...