Machine Learning-Driven Multi-Class Prediction of Vitamin Deficiency Diseases: A Clinically Interpretable Approach Integrating Socioeconomic Determinants and Biomarker Profiles
Main Article Content
Abstract
Deficiency disease conditions due to micronutrients represent serious public health issues in low-resource settings wherein central laboratory facilities are not accessible. Even though earlier studies using digital health approaches have concentrated on detection of single diseases in a binary fashion, multi-class prediction involving multiple domains like clinical signs and symptoms, biomarkers and socio-economic factors is relatively unexplored. A proof-of-concept dataset using parameterization (N = 4,000) with 33 parameters from demographic, lifestyle, nutritional, biological markers and pathognomonic sign and symptom domains was used for evaluation. Random Forest, Gradient Boosting and SVM classifiers were trained using stratified splitting in 80/20 ratios and validated by 5-fold cross-validation. Gradient Boosting gave the best multi-class discrimination, with 94.6% global accuracy, a macro-averaged F1-score of 91.5%, and a Matthews Correlation Coefficient of 0.926. Class-specific F1-scores were 0.989 for healthy controls, 0.959 for anemia, 0.937 for night blindness, 0.950 for rickets or osteomalacia, and 0.742 for the minority scurvy cohort. Discrete classification of scurvy was limited by low sample support (4.2% prevalence), but probabilistic risk ranking still performed well (ROC-AUC: 0.9737). The most important features were serum vitamin D (weight: 0.246), night blindness symptom (0.187), serum vitamin B12 (0.149), composite symptom burden (0.112), and hemoglobin (0.089); these ranking matches known physiological pathways. Sequential gradient boosting gives a robust, interpretable screening model for multi-class vitamin deficiency risk. These are proof-of-concept results with internal construct validity; prospective registry validation and threshold calibration are needed before clinical use.
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
References
[1] R. L. Bailey, K. P. West Jr., and R. E. Black, "The Epidemiology of Global Micronutrient Deficiencies," Ann. Nutr. Metab., vol. 66, no. Suppl. 2, pp. 22–33, 2015, doi: 10.1159/000371618.
[2] L. H. Allen, "Causes of Vitamin B12 and Folate Deficiency," Food Nutr. Bull., vol. 29, no. 2_suppl1, pp. S20–S34, Jun. 2008, doi: 10.1177/15648265080292S105.
[3] K. D. Cashman et al., "Vitamin D deficiency in Europe: pandemic?," Am. J. Clin. Nutr., vol. 103, no. 4, pp. 1033–1044, Apr. 2016, doi: 10.3945/ajcn.115.120873.
[4] M. F. Holick, "Vitamin D Deficiency," N. Engl. J. Med., vol. 357, no. 3, pp. 266–281, Jul. 2007, doi: 10.1056/NEJMra070553.
[5] E. McLean, M. Cogswell, I. Egli, D. Wojdyla, and B. de Benoist, "Worldwide prevalence of anaemia, WHO Vitamin and Mineral Nutrition Information System, 1993–2005," Public Health Nutr., vol. 12, no. 4, pp. 444–454, Apr. 2009, doi: 10.1017/S1368980008002401.
[6] N. Hwalla et al., "The Prevalence of Micronutrient Deficiencies and Inadequacies in the Middle East and Approaches to Interventions," Nutrients, vol. 9, no. 3, p. 229, Mar. 2017, doi: 10.3390/nu9030229.
[7] P. Rajpurkar, E. Chen, O. Banerjee, and E. J. Topol, "AI in health and medicine," Nat. Med., vol. 28, no. 1, pp. 31–38, Jan. 2022, doi: 10.1038/s41591-021-01614-0.
[8] D. Zeevi et al., "Personalized Nutrition by Prediction of Glycemic Responses," Cell, vol. 163, no. 5, pp. 1079–1094, Nov. 2015, doi: 10.1016/j.cell.2015.11.001.
[9] I. Kavakiotis, O. Tsave, A. Salifoglou, N. Maglaveras, I. Vlahavas, and I. Chouvarda, "Machine Learning and Data Mining Methods in Diabetes Research," Comput. Struct. Biotechnol. J., vol. 15, pp. 104–116, Jan. 2017, doi: 10.1016/j.csbj.2016.12.005.
[10] A. M. Alaa, T. Bolton, E. Di Angelantonio, J. H. F. Rudd, and M. van der Schaar, "Cardiovascular disease risk prediction using automated machine learning: A prospective study of 423,604 UK Biobank participants," PLoS One, vol. 14, no. 5, p. e0213653, May 2019, doi: 10.1371/journal.pone.0213653.
[11] F. Demirci, O. Yıldırım, A. Demirci, and P. Akan, "Development and Temporal Validation of Explainable Machine Learning Models for Predicting Vitamin B12 Deficiency Using Routine Laboratory Analytes," Diagnostics, vol. 16, no. 4, p. 563, Feb. 2026, doi: 10.3390/diagnostics16040563.
[12] J. Guo, Q. He, and Y. Li, "Machine learning-based prediction of vitamin D deficiency: NHANES 2001-2018," Front. Endocrinol. (Lausanne)., vol. 15, Feb. 2024, doi: 10.3389/fendo.2024.1327058.
[13] J. Ramesh, S. Sabu Thomas, A. H. Khamis, A. Sagahyroon, F. Aloul, and A. Rushood, "Interpretable Machine Learning Models for Vitamin A Deficiency Screening in School-Aged Children," IEEE Access, vol. 13, pp. 212999–213015, 2025, doi: 10.1109/ACCESS.2025.3644236.
[14] N. Darmon and A. Drewnowski, "Does social class predict diet quality?," Am. J. Clin. Nutr., vol. 87, no. 5, pp. 1107–1117, May 2008, doi: 10.1093/ajcn/87.5.1107.
[15] M. Marmot, J. Allen, R. Bell, E. Bloomer, and P. Goldblatt, "WHO European review of social determinants of health and the health divide," Lancet, vol. 380, no. 9846, pp. 1011–1029, Sep. 2012, doi: 10.1016/S0140-6736(12)61228-8.
[16] M. M. Islam, N. M. S. J. Kibria, S. Kumar, D. C. Roy, and M. R. Karim, "Prediction of undernutrition and identification of its influencing predictors among under-five children in Bangladesh using explainable machine learning algorithms," PLoS One, vol. 19, no. 12, p. e0315393, Dec. 2024, doi: 10.1371/journal.pone.0315393.
[17] J. A. C. Sterne et al., "Multiple imputation for missing data in epidemiological and clinical research: potential and pitfalls," BMJ, vol. 338, no. jun29 1, pp. b2393–b2393, Sep. 2009, doi: 10.1136/bmj.b2393.
[18] Y. Yang, H. A. Khorshidi, and U. Aickelin, "A review on over-sampling techniques in classification of multi-class imbalanced datasets: insights for medical problems," Front. Digit. Heal., vol. 6, Jul. 2024, doi: 10.3389/fdgth.2024.1430245.
[19] L. Breiman, "Random Forests," Mach. Learn., vol. 45, no. 1, pp. 5–32, Oct. 2001, doi: 10.1023/A:1010933404324.
[20] J. H. Friedman, "Greedy function approximation: A gradient boosting machine.," Ann. Stat., vol. 29, no. 5, Oct. 2001, doi: 10.1214/aos/1013203451.
[21] C. Cortes and V. Vapnik, "Support-vector networks," Mach. Learn., vol. 20, no. 3, pp. 273–297, Sep. 1995, doi: 10.1007/BF00994018.
[22] Haibo He and E. A. Garcia, "Learning from Imbalanced Data," IEEE Trans. Knowl. Data Eng., vol. 21, no. 9, pp. 1263–1284, Sep. 2009, doi: 10.1109/TKDE.2008.239.
[23] J. X. C. Ke, A. DhakshinaMurthy, R. B. George, and P. Branco, "The effect of resampling techniques on the performances of machine learning clinical risk prediction models in the setting of severe class imbalance: development and internal validation in a retrospective cohort," Discov. Artif. Intell., vol. 4, no. 1, p. 91, Nov. 2024, doi: 10.1007/s44163-024-00199-0.
[24] F. Di Martino and F. Delmastro, "Explainable AI for clinical and remote health applications: a survey on tabular and time series data," Artif. Intell. Rev., vol. 56, no. 6, pp. 5261–5315, Jun. 2023, doi: 10.1007/s10462-022-10304-3.
[25] V. Melina, W. Craig, and S. Levin, "Position of the Academy of Nutrition and Dietetics: Vegetarian Diets," J. Acad. Nutr. Diet., vol. 116, no. 12, pp. 1970–1980, Dec. 2016, doi: 10.1016/j.jand.2016.09.025.
[26] W. J. Craig, "Health effects of vegan diets," Am. J. Clin. Nutr., vol. 89, no. 5, pp. 1627S-1633S, May 2009, doi: 10.3945/ajcn.2009.26736N.
[27] A. Holzinger, G. Langs, H. Denk, K. Zatloukal, and H. Müller, "Causability and explainability of artificial intelligence in medicine," WIREs Data Min. Knowl. Discov., vol. 9, no. 4, Jul. 2019, doi: 10.1002/widm.1312.
[28] M. Salmi, D. Atif, D. Oliva, A. Abraham, and S. Ventura, "Handling imbalanced medical datasets: review of a decade of research," Artif. Intell. Rev., vol. 57, no. 10, p. 273, Sep. 2024, doi: 10.1007/s10462-024-10884-2.
[29] B. S. D. Darshan et al., "Differential diagnosis of iron deficiency anemia from aplastic anemia using machine learning and explainable Artificial Intelligence utilizing blood attributes," Sci. Rep., vol. 15, no. 1, p. 505, Jan. 2025, doi: 10.1038/s41598-024-84120-w.