Supervised machine learning algorithms for the classification of obesity levels using anthropometric indices derived from bioelectrical impedance analysis
The accurate classification of obesity is essential for public health and clinical decision-making. Traditional anthropometric measures such as body mass index (BMI) have limitations in differentiating between fat and lean mass. This study aimed to evaluate and compare the performance of various supervised machine learning algorithms in classifying obesity levels using anthropometric indices derived from bioelectrical impedance analysis (BIA). A cross-sectional study was conducted on a sample of 5372 adults (age 34.6 ± 10.0 years) (2727 females and 2645 males). Anthropometric data included BMI, fat mass index (FMI), fat-free mass index (FFMI), skeletal muscle index (SMI), muscle mass index (MM), and others were collected using a validated multifrequency octopolar BIA device (InBody 270). Six supervised machine learning models, random forest, gradient koosting, k-nearest neighbors, logistic regression, support vector machine, and decision tree, were trained and evaluated using accuracy, precision, recall, F1-score, area under the receiver operating characteristic curve (AUC-ROC), and SHapley Additive exPlanations value explanations. Random forest outperformed all other models, achieving the highest accuracy (84.2%), F1-score (83.7%), and AUC-ROC (0.947). SHapley Additive exPlanations analysis revealed that FMI, FFMI, and BMI were the most influential features, while sex had minimal predictive impact. Machine learning models, particularly tree-based algorithms like random forest, show great potential in classifying obesity levels from anthropometric data with high accuracy and interpretability. These models can enhance the effectiveness of obesity screening in clinical and community settings.
Authors
- Claudio Hinojosa-Torres (ORCID: https://orcid.org/0000-0002-5662-7385)
- Exal García-Carrillo (ORCID: https://orcid.org/0000-0001-6190-938X)
- Eduardo Guzmán-Muñoz (ORCID: https://orcid.org/0000-0001-7001-9004)
- Rodrigo Olivares (ORCID: https://orcid.org/0000-0003-0582-954X)
- Jorge Olivares‐Arancibia (ORCID: https://orcid.org/0000-0002-7186-3941)
- Frano Giakoni-Ramírez (ORCID: https://orcid.org/0000-0002-2685-8991)
- Jacqueline Páez‐Herrera (ORCID: https://orcid.org/0000-0002-5189-8899)
- Aldo A. Vasquez-Bonilla (ORCID: https://orcid.org/0000-0002-5319-086X)
- Rodrigo Alejandro Yañez Sepulveda (ORCID: https://orcid.org/0000-0002-9311-6576)
- Guillermo Cortés-Roco (ORCID: https://orcid.org/0000-0002-8033-4777)
- Juan Pablo Zavala-Crichton (ORCID: https://orcid.org/0000-0002-0727-4456)
- Tomás Reyes-Amigo (ORCID: https://orcid.org/0000-0001-6510-1230)
- Vicente Javier Clemente‐Suárez (ORCID: https://orcid.org/0000-0002-2397-2801)
- Juan Hurtado-Almonácid (ORCID: https://orcid.org/0000-0001-6278-4902)
- José Francisco López‐Gil (ORCID: https://orcid.org/0000-0002-7412-7624)
- Josivaldo de Souza-Lima (ORCID: https://orcid.org/0000-0003-4372-0836)
- Pablo Olivares (ORCID: https://orcid.org/0009-0003-5200-3289)
- Catalina Muñoz-Strale (ORCID: https://orcid.org/0009-0002-5354-1313)
- Juan David Paucar Uribe (ORCID: https://orcid.org/0000-0003-4462-1733)
- Boryi A. Becerra-Patiño
- Nicole Aguilera-Martínez
Institutions
- Pontificia Universidad Católica de Valparaíso (CL)
- Universidad Andrés Bello (CL)
- Catholic University of the Maule (CL)
- Universidad Autónoma de Chile (CL)
- Universidad Espíritu Santo (EC)
- Viña del Mar University (CL)
- Universidad Pedagógica Nacional (CO)
- Universidad Bernardo O'Higgins (CL)
- University of the Americas (CL)
- Universidad de Playa Ancha de Ciencias de la Educación (CL)
- University of the Coast (CO)
- Universidad Santo Tomás (CL)
- Universidad de Los Lagos (CL)
- University of Valparaíso (CL)
- Universidad de Extremadura (ES)
- Universidad Europea de Madrid (ES)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-08-21
- DOI
- https://doi.org/10.1038/s41598-025-15264-6
- Citations
- 2
- Primary Topic
- Body Composition Measurement Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.33
Funders
- Ministerio de Educación, Gobierno de Chile