AUTOML AND DYNAMIC FEATURE SELECTION FOR OBESITY LEVEL CLASSIFICATION: A COMPARATIVE ANALYSIS OF TREE-BASED MODELS
Abstract
The classification of obesity levels based on anthropometric, dietary, and behavioral characteristics can contribute to more consistent analyses in health-related contexts. This study aimed to comparatively evaluate tree-based Machine Learning models through an AutoML approach combined with dynamic feature selection. The Estimation of Obesity Levels Based on Eating Habits and Physical Condition dataset was used, comprising 2,111 records, 16 predictive attributes, and seven nutritional status classes. Decision Tree, Random Forest, Extra Trees, Bagging Trees, AdaBoost, XGBoost, LightGBM, and CatBoost were evaluated using stratified 10-fold cross-validation. In each fold, attributes with importance values above the mean were selected, and the same classifier was retrained using the resulting subset. Performance was assessed through multiple metrics, including Accuracy, Balanced Accuracy, F1-score, Kappa, and MCC. LightGBM achieved the best overall performance, with an Accuracy of 0.977 ± 0.008 and an MCC of 0.974 ± 0.009, followed by CatBoost (MCC = 0.969 ± 0.010) and Extra Trees (MCC = 0.966 ± 0.010). In the dynamic selection process, Weight was selected in 100% of the folds by all models, while Height, Age, Gender, and FCVC also showed high recurrence. The results indicate that integrating systematic classifier comparison with dynamic feature selection makes it possible to identify consistent models and relevant variables for multiclass obesity level classification.
Author Biographies
Master’s degree in Electrical and Computer Engineering from the Federal University of Ceará (UFC). Holds a degree in Computer Science and teaching degrees in Mathematics and Physics, as well as several postgraduate specializations in Data Science, Artificial Intelligence, Applied Computing, and Education. He is a permanent professor at the Federal Institute of Education, Science and Technology of Ceará (IFCE). His teaching, research, and extension activities focus on Artificial Intelligence, Machine Learning, Deep Learning, Image Processing, AutoML, Neuro-Fuzzy Systems, and Explainable Artificial Intelligence (XAI).
PhD candidate and Master’s degree holder in Computer Science from the State University of Ceará (UECE), with research activities at the Laboratory of Graphs and Computational Intelligence (LAGIC). She holds degrees in Computer Science, Information Systems, and Pedagogy, as well as postgraduate specializations in Computing and Education. She is a permanent professor at the Federal Institute of Education, Science and Technology of Pará (IFPA). Her research focuses on Data Science, Artificial Intelligence, Computational Intelligence, Graph Theory, and Software Engineering.
References
ARRAIS, Joel Freires de Alencar et al. Obesidade no Brasil: análise das hospitalizações e mortalidade entre 2013 a 2024. Saúde e Pesquisa, v. 19, e13405, 2026. DOI: https://doi.org/10.17765/2176-9206.2026v19e13405
BAG, Harika Gozde Gozukara et al. Estimation of obesity levels through the proposed predictive approach based on physical activity and nutritional habits. Diagnostics, Basel, v. 13, n. 18, art. 2949, 2023. DOI: https://doi.org/10.3390/diagnostics13182949
BREIMAN, Leo. Random forests. Machine Learning, v. 45, p. 5-32, 2001. DOI: https://doi.org/10.1023/A:1010933404324
DE BRITO, Rhyan Ximenes; DE SOUSA XIMENES, Janaide Nogueira. Análise comparativa de modelos estatísticos e redes neurais na detecção de cistite a partir de dados clínicos. Revista de Ciência da Computação, v. 8, n. 1, p. e17258-e17258, 2026. DOI: https://doi.org/10.22481/recic.v8i1.17258
CHAUHAN, Shanvi; GILL, Kanwarpartap Singh; CHAUHAN, Rahul; POKHARIYA, Hemant Singh. Targeted insights: advanced gradient boosting models for accurate obesity risk evaluation. In: INTERNATIONAL CONFERENCE ON PIONEERING DEVELOPMENTS IN COMPUTER SCIENCE & DIGITAL TECHNOLOGIES (IC2SDT), 1., 2024. Proceedings [...]. IEEE, 2024. DOI: https://doi.org/10.1109/IC2SDT62152.2024.10696891
CHEN, Tianqi; GUESTRIN, Carlos. XGBoost: a scalable tree boosting system. In: ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 22., 2016. Proceedings [...]. New York: ACM, 2016. p. 785-794. DOI: https://doi.org/10.1145/2939672.2939785
DE-LA-HOZ-CORREA, Eduardo et al. Obesity level estimation software based on decision trees. Journal of Computer Science, v. 15, n. 1, p. 67-77, 2019. DOI: https://doi.org/10.3844/jcssp.2019.67.77
FERREIRA, Vanessa Alves; MAGALHÃES, Rosana. Obesidade no Brasil: tendências atuais. Revista Portuguesa de Saúde Pública, v. 24, n. 2, p. 71-81, jul./dez. 2006.
FEURER, Matthias et al. Auto-sklearn: efficient and robust automated machine learning. In: HUTTER, Frank; KOTTHOFF, Lars; VANSCHOREN, Joaquin (ed.). Automated machine learning: methods, systems, challenges. Cham: Springer, 2019. p. 113-134. DOI: https://doi.org/10.1007/978-3-030-05318-5_6
FREUND, Yoav; SCHAPIRE, Robert E. A decision-theoretic generalization of on-line learning and an application to boosting. Journal of Computer and System Sciences, v. 55, n. 1, p. 119-139, 1997. DOI: https://doi.org/10.1006/jcss.1997.1504
GÖRMEZ, Yasin et al. Prediction of obesity levels based on physical activity and eating habits with a machine learning model integrated with explainable artificial intelligence. Frontiers in Physiology, v. 16, art. 1549306, 2025. DOI: https://doi.org/10.3389/fphys.2025.1549306
HAIRANI, Hairani; PRATAMA, Gede Yogi; WIDIYANINGTYAS, Triyanna; HIDJAH, Khasnur; PRASETYA, Didik Dwi; SORAYA, Siti. Multi-class classification of obesity levels using Gradient Boosting, Random Forest, and C4.5. In: INTERNATIONAL CONFERENCE ON ELECTRICAL, ELECTRONICS AND INFORMATION ENGINEERING (ICEEIE), 9., 2025. Proceedings [...]. IEEE, 2025. DOI: https://doi.org/10.1109/ICEEIE66203.2025.11253679
HE, Xin; ZHAO, Kaiyong; CHU, Xiaowen. AutoML: a survey of the state-of-the-art. Knowledge-Based Systems, v. 212, art. 106622, 2021. DOI: https://doi.org/10.1016/j.knosys.2020.106622
HUTTER, Frank; KOTTHOFF, Lars; VANSCHOREN, Joaquin (ed.). Automated machine learning: methods, systems, challenges. Cham: Springer, 2019. DOI: https://doi.org/10.1007/978-3-030-05318-5
KULKARNI, Gururaj N.; AMBESANGE, Sateesh; VIJAYALAXMI, A.; SAHOO, Anindita. Comparision of diabetic prediction AutoML model with customized model. In: INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND SMART SYSTEMS (ICAIS), 2021. Proceedings [...]. IEEE, 2021. DOI: https://doi.org/10.1109/ICAIS50930.2021.9395775
LOPES, Leonardo Ferreira; OLIVEIRA, Adonias Caetano de; BRITO, Rhyan Ximenes de; OLIVEIRA, Saulo Anderson Freitas de; RAPOSO NETO, Luiz Torres. Estimativa dos níveis de obesidade com base em hábitos alimentares e condição física através de técnicas de aprendizado de máquina. In: CONFERENCE ON GRAPHICS, PATTERNS AND IMAGES (SIBGRAPI), 34., 2021. Anais Estendidos da Conference on Graphics, Patterns and Images. Porto Alegre: Sociedade Brasileira de Computação, 2021. p. 154-157. DOI: https://doi.org/10.5753/sibgrapi.est.2021.20029
MODI, Vishwam; SHAH, Aarchi; PANCHAL, Janmay; KUMAR, Yogesh. Machine learning-based early prediction and classification of obesity levels using ensemble models. In: INTERNATIONAL CONFERENCE ON INDUSTRY 4.0 TECHNOLOGY (I4TECH), 3., 2025. Proceedings [...]. IEEE, 2025. DOI: https://doi.org/10.1109/I4Tech64670.2025.11277593
MOSLEMI, Amir. A tutorial-based survey on feature selection: recent advancements on feature selection. Engineering Applications of Artificial Intelligence, v. 126, art. 107136, 2023. DOI: https://doi.org/10.1016/j.engappai.2023.107136
NARAYANAN, Advaith Nila; DAS, Shyam Sundar; MIRNALINEE, T. T. Evaluation of AutoML frameworks for computational ADMET screening in drug discovery & development. In: IEEE INTERNATIONAL CONFERENCE ON BIOINFORMATICS AND BIOMEDICINE (BIBM), 2023. Proceedings [...]. IEEE, 2023. p. 4929-4931. DOI: https://doi.org/10.1109/BIBM58861.2023.10385832
NCD RISK FACTOR COLLABORATION (NCD-RISC). Worldwide trends in underweight and obesity from 1990 to 2022: a pooled analysis of 3663 population-representative studies with 222 million children, adolescents, and adults. The Lancet, v. 403, n. 10431, p. 1027-1050, 2024.
NILSON, Eduardo et al. Dia Mundial da Obesidade 2026: Entre o Legado de 2025 e a Urgência de 8 Bilhões de Razões para Agir. Cadernos Saúde Global Fiocruz, n. 2, p. 100-111, 2026.
ORGANIZAÇÃO MUNDIAL DA SAÚDE. Obesity and overweight. Geneva: World Health Organization, 2025. Disponível em: World Health Organization Obesity and overweight. Acess in: 30 ago. 2026.
PALECHOR, Fabio Mendoza; MANOTAS, Alexis de la Hoz. Dataset for estimation of obesity levels based on eating habits and physical condition in individuals from Colombia, Peru and Mexico. Data in Brief, v. 25, art. 104344, 2019. DOI: https://doi.org/10.1016/j.dib.2019.104344
PRASHER, Shikha; NELSON, Leema. Early prediction of obesity risk in older adults using XGBoost classifier. In: INTERNATIONAL CONFERENCE ON CIRCUIT POWER AND COMPUTING TECHNOLOGIES (ICCPCT), 7., 2024. Proceedings [...]. IEEE, 2024. DOI: https://doi.org/10.1109/ICCPCT61902.2024.10673336
PROKHORENKOVA, Liudmila et al. CatBoost: unbiased boosting with categorical features. In: INTERNATIONAL CONFERENCE ON NEURAL INFORMATION PROCESSING SYSTEMS, 32., 2018. Proceedings [...]. 2018. p. 6639-6649.
SHEN, Jiexuan; LI, Shi; XINGLIN, Li; WANG, Yong; MONDAY, Happy Nkanta; NNEJI, Grace Ugochi. Explainable AI for the prediction and estimation of obesity levels using machine learning models. In: INTERNATIONAL CONFERENCE ON ELECTRONIC INFORMATION ENGINEERING AND COMPUTER SCIENCE (EIECS), 4., 2024. Proceedings [...]. IEEE, 2024. DOI: https://doi.org/10.1109/EIECS63941.2024.10800143
SILVA, Ramon Reis et al. Obesidade abdominal em adultos de um município do estado da Bahia: um estudo transversal. Revista Brasileira de Medicina de Família e Comunidade, Rio de Janeiro, v. 21, n. 48, e4276, 2026. DOI: https://doi.org/10.5712/rbmfc21(48)4276
THENG, Dipti; BHOYAR, Kishor K. Feature selection techniques for machine learning: a survey of more than two decades of research. Knowledge and Information Systems, v. 66, n. 3, p. 1575-1637, 2024. DOI: https://doi.org/10.1007/s10115-023-02010-5
XIMENES, Janaide Nogueira de Sousa; BRITO, Rhyan Ximenes de. Análise de dados sob a perspectiva da classificação: desvendando insights sobre divórcio através da mineração de dados. Revista de Sistemas e Computação, Salvador, v. 14, n. 3, p. 1-8, set./dez. 2024.
YESWANTH, Adapa Mohan Sai; REDDY, Vunadi Sharan Teja; JOSHI, Soshya. Early obesity risk assessment using machine learning to analyse lifestyle and demographic data. In: IEEE INTERNATIONAL CONFERENCE ON INTERDISCIPLINARY APPROACHES IN TECHNOLOGY AND MANAGEMENT FOR SOCIAL INNOVATION (IATMSI), 2025. Proceedings [...]. IEEE, 2025. DOI: https://doi.org/10.1109/IATMSI64286.2025.10985430
