TELKOMNIKA (Telecommunication Computing Electronics and Control)
Vol 23, No 3: June 2025

XGBoost optimization using hybrid Bayesian optimization and nested cross validation for calorie prediction

Budiman Budiman (Universitas Informatika dan Bisnis Inndonesia)
Nur Alamsyah (Universitas Informatika dan Bisnis Inndonesia)
Titan Parama Yoga (Universitas Informatika dan Bisnis Inndonesia)
R Yadi Rakhman Alamsyah (Universitas Informatika dan Bisnis Inndonesia)
Elia Setiana (Universitas Informatika dan Bisnis Inndonesia)



Article Info

Publish Date
01 Jun 2025

Abstract

Accurately predicting calorie expenditure is crucial for wearable device applications, enabling personalized fitness and health recommendations. However, traditional models struggle with high data variability and nonlinear relationships in activity data, leading to suboptimal predictions. This study addresses these challenges by integrating extreme gradient boosting (XGBoost) with Bayesian optimization and nested cross validation to enhance predictive accuracy. Unlike previous approaches, our method systematically tunes hyperparameters using Bayesian optimization while employing nested cross validation to prevent overfitting, ensuring robust model evaluation. We utilize a dataset of daily activity records, including steps, distance, and active minutes, extracted from wearable devices. Our experimental findings indicate a substantial enhancement in prediction performance, achieving a mean squared error (MSE) of 4294.27, an Rsquared (R2) score of 0.9917, and a root mean squared error (RMSE) of 65.53. The proposed model outperforms baseline approaches such as random forest and support vector machines in terms of predictive accuracy. These findings underscore the advantage of our approach in predictive modeling. Beyond calorie estimation, the proposed methodology is adaptable to other domains requiring high-precision predictions, such as healthcare analytics and personalized recommendation systems.

Copyrights © 2025






Journal Info

Abbrev

TELKOMNIKA

Publisher

Subject

Computer Science & IT

Description

Submitted papers are evaluated by anonymous referees by single blind peer review for contribution, originality, relevance, and presentation. The Editor shall inform you of the results of the review as soon as possible, hopefully in 10 weeks. Please notice that because of the great number of ...