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

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

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

     

    Abstract:
    Objective Accurate prediction of ship fuel consumption is crucial for reducing operational costs and achieving energy-saving emission reduction. To this end, this study proposes a ship fuel consumption prediction model that integrates an improved grey wolf optimizer with the XGBoost algorithm, providing a reliable basis for ship energy efficiency management decisions.
    Method This study develops an XGBoost-based fuel consumption prediction model using actual voyage data. To address the challenges posed by complex hyperparameter combinations and the inefficiency of manual tuning in the algorithm, an improved grey wolf optimizer is proposed for guided hyperparameter optimization of the XGBoost model. Building on the strengths of the traditional GWO, Tent Chaos mapping is introduced, along with horizontal and vertical crossover mechanisms and a boundary checking procedure during iterations, to train the XGBoost model with the optimal hyperparameter set.
    Results Experimental results show that the predicted values of the ship fuel consumption model developed in this study closely align with the fitting line on the test set. The evaluation metrics (RMSE, and R2) surpass those of the untuned original XGBoost model and other mainstream models, demonstrating strong generalization ability and high prediction accuracy.
    Conclusion The XGBoost model optimized via the improved grey wolf optimizer exhibits effective performance in predicting ship fuel consumption, providing reliable data support for energy-efficient operations and intelligent vessel navigation.

     

/

返回文章
返回