基于改进灰狼算法和XGBoost的船舶油耗预测模型

The ship fuel consumption prediction model based on XGBoost algorithm and improved GWO

  • 摘要:目的】船舶油耗预测对降低营运成本、节能减排有重要意义,为此提出一种基于改进灰狼算法和XGBoost的船舶油耗预测模型,为船舶航行决策和船舶能效管理提供可靠依据。【方法】基于实际航行数据,采用XGBoost算法建立油耗预测模型,并针对算法超参数组合复杂、人工调参不易的问题,采用改进灰狼算法对XGBoost超参数进行引导式搜索。在保留传统灰狼算法优点的基础上,引入Tent混沌映射,并在迭代过程中增设横向、纵向交叉机制以及边界检查机制,以生成最优的超参数组合并训练XGBoost油耗预测模型。【结果】实验结果表明,本文构建的船舶油耗预测模型在测试集上预测点紧密分布在理想曲线附近,有良好的拟合效果;评价指标RMSE、MAE、R2均优于与未经调参的原XGBoost模型及其他主流模型,具有良好的泛化能力和预测精度。【结论】经过改进灰狼算法调参后的XGBoost模型能够有效预测船舶油耗,可为船舶节能运行与智能航行提供可靠的数据支撑。

     

    Abstract: Objectives Ship fuel consumption prediction is crucial for reducing operational costs and achieving energy-saving emission reduction, to this end, a ship fuel consumption prediction model based on an improved grey wolf algorithm and XGBoost is proposed to provide a reliable basis for ship energy efficiency management decisions. Methods This study develops an XGBoost-based fuel consumption prediction model using actual voyage data. To address the challenges of complex hyperparameter combinations and the inefficiency of manual tuning in the algorithm, we propose an improved Grey Wolf Optimizer for guided hyperparameter optimization of XGBoost. On the basis of retaining the advantages of the traditional algorithm, Tent Chaos mapping is introduced, horizontal and vertical crossover mechanisms as well as boundary checking mechanism are added during the iteration process to train the XGBoost model with the optimal hyperparameter combination. Methods The experimental results demonstrate that the prediction points of the proposed model are densely distributed near the ideal curve on the test set, indicating excellent fitting performance. The evaluation metrics (RMSE, MAE, and R²) all outperform the untuned original XGBoost model and other mainstream models, confirming its strong generalization capability and prediction accuracy. Conclusions The XGBoost model optimized by the improved Grey Wolf Algorithm demonstrates effective performance in ship fuel consumption prediction, providing reliable data support for energy-efficient operations and intelligent navigation of vessels.

     

/

返回文章
返回