Comparative Machine Learning Approaches for Battery Capacity Prediction Using Random Forest and LSBoost Regression Algorithms
Author:
- 20 February 2026
- journal article
- Published by The Electrochemical Society in Journal of the Electrochemical Society
- Vol. 173 (5) , 050511
Abstract
Accurate capacity prediction is critical for lithium-ion battery health management in electric vehicles and energy storage systems. This study compares four machine learning methods for battery capacity estimation using the NASA Prognostics Center of Excellence dataset, including Optimized Random Forest, Least Squares Boosting, Lasso regression, and Ridge regression. Fourteen features were engineered from voltage, current, temperature, and electrochemical impedance measurements across 447 training cycles from three batteries, with validation on 132 cycles from an independent battery. All models were tuned using Leave-One-Battery-Out cross-validation with fold-specific normalization to ensure unbiased performance evaluation. The LSBoost model achieved the best performance with test RMSE of 0.0794 Ah, MAE of 0.0751 Ah, and R 2 of 0.7351, representing 12.2% improvement in RMSE compared to Optimized Random Forest and 13.6% improvement compared to linear baselines. Feature importance analysis using permutation methods identified cycle number as the dominant predictor followed by mean power and current variability, while partial dependence analysis revealed the marginal contribution of individual features to capacity estimation. The 4.92% mean absolute percentage error meets industrial requirements for battery management systems, establishing gradient boosting as an effective and computationally efficient methodology for state-of-health estimation in practical applications.Keywords
This publication has 32 references indexed in Scilit:
- Ensuring Battery Safety in Electric Vehicles: Challenges, Developments, and Future PerspectivesSmall, 2025
- Hybrid Levenberg–Marquardt and LSBoosting Ensemble Algorithms for Optimal Signal Attenuation Modeling and Coverage AnalysisInternational Journal of Communication Systems, 2025
- Enhancing landslide susceptibility mapping through advanced hybridization of bootstrap aggregating based decision tree algorithmsEarth Science Informatics, 2024
- A Comprehensive Review of the Pseudo‐Two‐Dimensional (P2D) Model: Model Development, Solutions Methods, and ApplicationsAdvanced Theory and Simulations, 2024
- Gas Evolution in Li‐Ion Rechargeable Batteries: A Review on Operando Sensing Technologies, Gassing Mechanisms, and Emerging TrendsChemElectroChem, 2024
- The difference of model robustness assessment using cross‐validation and bootstrap methodsJournal of Chemometrics, 2024
- High‐Energy Lithium‐Ion Batteries: Recent Progress and a Promising Future in ApplicationsEnergy & Environmental Materials, 2023
- Improved Battery Cycle Life Prediction Using a Hybrid Data‐Driven Model Incorporating Linear Support Vector Regression and GaussianChemphyschem, 2022
- Novel hybrid modeling approach for utilizing simple linear regression models to solve multi-input nonlinear problems of indoor humidity modelingBuilding and Environment, 2022
- Ensemble learning: A surveyWIREs Data Mining and Knowledge Discovery, 2018