Modeling hybrid nanofluid density using machine learning algorithms
摘要
Accurate prediction of hybrid nanofluid density is critical for the efficient design of thermal energy systems. In this study, four tree-based machine learning algorithms (Random Forest (RF), Decision Tree (DT), Extreme Gradient Boosting (XGBoost) and Light Gradient Boosting Machine (LightGBM)) were systematically developed and compared to predict hybrid nanofluid density. A dataset consisting of 436 experimental data points compiled from the literature was used, including nanoparticle type, base fluid type, temperature, volumetric concentration, and component densities as input parameters. An 80/20-layer training/test split was applied and fivefold cross-validation was performed to evaluate generalization performance. All models achieved test set R2 values exceeding 0.95; XGBoost gave the best performance (R2 = 0.9906, MAE = 1.30 kg m−3, RMSE = 2.443 kg m−3, MAPE = 0.13%). Cross-validated R2 means ranged from 0.9577 (DT) to 0.9885 (XGBoost); The maximum difference between cross-validated and test set R2 did not exceed 0.009 in all models, confirming stable generalization. XGBoost’s superior accuracy is attributed to its built-in L1/L2 regularization and iterative residual error correction mechanism. Feature importance analysis identified base fluid density and nanoparticle volumetric concentrations as the dominant determinants of hybrid nanofluid density. The proposed models offer a fast and low-cost alternative to experimental density measurement; however, their applicability is limited to the parameter ranges of the training dataset.