Classification of Obesity among South African Female Adolescents: Comparative Analysis of Logistic Regression and Random Forest Algorithms
Open Access
- 19 December 2023
- journal article
- research article
- Published by MDPI AG in International Journal of Environmental Research and Public Health
- Vol. 21 (1) , 2
Abstract
Background: This study evaluates the performance of logistic regression (LR) and random forest (RF) algorithms to model obesity among female adolescents in South Africa. Methods: Data was analysed on 375 females aged 15–17 from the South African National Health and Nutrition Examination Survey 2011/2012. The primary outcome was obesity, defined as body mass index (BMI) ≥ 30 kg/m2. A total of 31 explanatory variables were included, ranging from socio-economic, demographic, family history, dietary and health behaviour. RF and LR models were run using imbalanced data as well as after oversampling, undersampling, and hybrid sampling of the data. Results: Using the imbalanced data, the RF model performed better with higher precision, recall, F1 score, and balanced accuracy. Balanced accuracy was highest with the hybrid data (0.618 for RF and 0.668 for LR). Using the hybrid balanced data, the RF model performed better (F1-score = 0.940 for RF vs. 0.798 for LR). Conclusion: The model with the highest overall performance metrics was the RF model both before balancing the data and after applying hybrid balancing. Future work would benefit from using larger datasets on adolescent female obesity to assess the robustness of the models.Keywords
Funding Information
- National Research Foundation (BRIC190307422517)
This publication has 38 references indexed in Scilit:
- Predicting adult obesity from childhood obesity: a systematic review and meta‐analysisObesity Reviews, 2015
- Machine Learning Techniques for Prediction of Early Childhood ObesityApplied Clinical Informatics, 2015
- The relative importance of predictors of body mass index change, overweight and obesity in adolescent girlsPediatric Obesity, 2011
- Childhood Obesity, Other Cardiovascular Risk Factors, and Premature DeathNew England Journal of Medicine, 2010
- Comparing data mining methods with logistic regression in childhood obesity predictionInformation Systems Frontiers, 2009
- Identifying and screening for psychological and comorbid medical and psychological disorders in medical settingsJournal of Clinical Psychology, 2009
- Measurement and Definitions of Obesity In Childhood and Adolescence: A field guide for the uninitiatedNutrition Journal, 2007
- Estimating wealth effects without expenditure data—or tears: An application to educational enrollments in states of IndiaDemography, 2001
- The AUDIT Alcohol Consumption Questions (AUDIT-C)An Effective Brief Screening Test for Problem DrinkingArchives of internal medicine (1960), 1998
- Obesity Evaluation and Treatment: Expert Committee RecommendationsPediatrics, 1998