Obesity represents a multifactorial health condition influenced by complex interactions among behavioral, environmental, and physiological factors, yet the relative predictive importance of lifestyle behaviors versus medical history indicators remains incompletely characterized. This investigation employed a three-phase machine learning approach to systematically compare the predictive power of behavioral lifestyle factors, medical history variables, and their integration for obesity classification. Phase A utilized a dedicated obesity dataset containing demographic, dietary, and lifestyle predictors to perform seven-category obesity classification, achieving 81.65% test accuracy with an optimized Random Forest ensemble and macro-averaged F1-score of 0.82. Phase B addressed binary obesity classification using health indicators from diabetes screening data, where a Gradient Boosting model with optimized decision threshold achieved 67.84% accuracy and AUC of 0.735, demonstrating substantially lower performance than behavioral predictors. Phase C integrated both feature sets into a unified model, where Gradient Boosting achieved 68.31% accuracy and AUC of 0.747, representing marginal improvement over medical history alone. Cross-validated performance comparisons revealed that behavioral lifestyle factors provided superior discriminative power compared to medical history indicators, with dedicated lifestyle predictors achieving 13.81 percentage points higher accuracy than medical indicators. Feature importance analysis confirmed that transportation mode, physical activity patterns, and dietary behaviors ranked among the most influential predictors in the combined model. These findings demonstrate that behavioral lifestyle factors constitute stronger obesity predictors than medical history variables, with implications for clinical screening strategies and public health intervention targeting that prioritize lifestyle assessment and modification programs.
Murickan et al. (Mon,) studied this question.