Interpretable Stacked Machine Learning for Multiclass Nutritional Status Classification and Individualized Feature Profiling in Mexican Preschool Children

Childhood undernutrition, overweight, and obesity coexist in Mexico, but anthropometric classification alone does not characterize the broader context accompanying each child’s nutritional phenotype. We developed and evaluated an interpretable machine learning framework for concurrent four-class nutritional status classification and individualized feature profiling using data on 8268 children younger than 72 months from the 2018–2023 Mexican National Health and Nutrition Survey (ENSANUT). Nutritional status was defined according to World Health Organization weight-for-height standards. The primary analysis used 78 predictors, including current child weight and height but excluding body mass index and anthropometry-derived z-scores; a 76-predictor ablation step removed weight and height before model development. Multinomial logistic regression, calibrated LinearSVC, random forest, XGBoost, soft voting, and a stacked neural network ensemble were evaluated using leakage-aware preprocessing, repeated stratified five-fold cross-validation, an independent internal hold-out sample, and ENSANUT 2023 as a later survey-wave evaluation. In the internal hold-out sample, XGBoost achieved the highest macro-F1 (0.736) and macro-average precision (0.757), whereas the stacked ensemble achieved the highest balanced accuracy (0.823). In ENSANUT 2023, XGBoost retained the highest macro-F1 (0.680) and macro-average precision (0.762), while the stacked ensemble achieved the highest macro-AUC (0.977). Removing current weight and height markedly reduced performance across all models, demonstrating substantial dependence on outcome-defining anthropometry. Probability calibration varied across algorithms, with substantial calibration-in-the-large deviations for the stacked ensemble. SHAP and repeated LIME analyses of the complete ensemble confirmed the dominant contribution of current anthropometry while identifying additional contextual contributions. The framework should therefore be interpreted as a methodological proof of concept for concurrent anthropometry-informed classification and feature profiling, not as a replacement for WHO growth standards or as prediction of future nutritional status. External and longitudinal validation are required before clinical use.

Authors

Institutions

Publication Details

Journal
Computers
Published
2026-10-29
DOI
https://doi.org/10.3390/computers15110762
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Interpretable Stacked Machine Learning for Multiclass Nutritional Status Classification and Individualized Feature Profiling in Mexican Preschool Children

Alejandro G Gonzalez Garay, Edwar Macias
4 links
Computers
Artificial Intelligence in Healthcare
article

Interpretable Stacked Machine Learning for Multiclass Nutritional Status Classification and Individualized Feature Profiling in Mexican Preschool Children

Alejandro G Gonzalez Garay, Edwar Macias
article en

Abstract

Childhood undernutrition, overweight, and obesity coexist in Mexico, but anthropometric classification alone does not characterize the broader context accompanying each child’s nutritional phenotype. We developed and evaluated an interpretable machine learning framework for concurrent four-class nutritional status classification and individualized feature profiling using data on 8268 children younger than 72 months from the 2018–2023 Mexican National Health and Nutrition Survey (ENSANUT). Nutritional status was defined according to World Health Organization weight-for-height standards. The primary analysis used 78 predictors, including current child weight and height but excluding body mass index and anthropometry-derived z-scores; a 76-predictor ablation step removed weight and height before model development. Multinomial logistic regression, calibrated LinearSVC, random forest, XGBoost, soft voting, and a stacked neural network ensemble were evaluated using leakage-aware preprocessing, repeated stratified five-fold cross-validation, an independent internal hold-out sample, and ENSANUT 2023 as a later survey-wave evaluation. In the internal hold-out sample, XGBoost achieved the highest macro-F1 (0.736) and macro-average precision (0.757), whereas the stacked ensemble achieved the highest balanced accuracy (0.823). In ENSANUT 2023, XGBoost retained the highest macro-F1 (0.680) and macro-average precision (0.762), while the stacked ensemble achieved the highest macro-AUC (0.977). Removing current weight and height markedly reduced performance across all models, demonstrating substantial dependence on outcome-defining anthropometry. Probability calibration varied across algorithms, with substantial calibration-in-the-large deviations for the stacked ensemble. SHAP and repeated LIME analyses of the complete ensemble confirmed the dominant contribution of current anthropometry while identifying additional contextual contributions. The framework should therefore be interpreted as a methodological proof of concept for concurrent anthropometry-informed classification and feature profiling, not as a replacement for WHO growth standards or as prediction of future nutritional status. External and longitudinal validation are required before clinical use.

ComputersVol. 15(11)
Universitat Autònoma de Barcelona (ES), Instituto Nacional de Pediatria (MX)
Good health and well-being, Zero hunger
Openalex Percentile: Top 8%
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon