陈志浩, 王建华, 龙拥兵, 等. 基于Spark的WOA-BP水稻产量预测[J]. 华南农业大学学报, 2023, 44(4): 613-618. doi: 10.7671/j.issn.1001-411X.202207009
    引用本文: 陈志浩, 王建华, 龙拥兵, 等. 基于Spark的WOA-BP水稻产量预测[J]. 华南农业大学学报, 2023, 44(4): 613-618. doi: 10.7671/j.issn.1001-411X.202207009
    CHEN Zhihao, WANG Jianhua, LONG Yongbing, et al. WOA-BP rice yield prediction based on Spark[J]. Journal of South China Agricultural University, 2023, 44(4): 613-618. doi: 10.7671/j.issn.1001-411X.202207009
    Citation: CHEN Zhihao, WANG Jianhua, LONG Yongbing, et al. WOA-BP rice yield prediction based on Spark[J]. Journal of South China Agricultural University, 2023, 44(4): 613-618. doi: 10.7671/j.issn.1001-411X.202207009

    基于Spark的WOA-BP水稻产量预测

    WOA-BP rice yield prediction based on Spark

    • 摘要:
      目的 随着大数据技术和人工智能的快速发展,针对当前水稻产量预测模型精度低、预测区域范围过大、模型优化时间过长等问题,本文提出一种基于Spark的鲸鱼优化算法−反向传播神经网络(Whale optimization algorithm-backpropagation,WOA-BP)水稻产量预测方法。
      方法 本文以广东省西部地区的县/市/区水稻产量及气象数据作为研究对象,采用WOA对BP网络的权值和偏置值进行优化,并构建水稻产量预测模型,提升预测精度;此外,在Spark框架下,实现WOA-BP算法并行化,减少算法时间开销。
      结果 模型精度方面,通过对预测结果进行反归一化后比较,经WOA优化后的BP神经网络模型,平均绝对百分比误差 (Mean absolute percentage error) 从8.354%降至7.068%,平均绝对误差 (Mean absolute error) 从31.320 kg降至26.982 kg,均方根误差 (Root mean square error) 从41.008 kg降至33.546 kg;运行时间方面,3节点Spark集群比非Spark模式减少了11 742 s,减少44%的时间开销。
      结论 基于Spark的WOA-BP水稻产量预测方法,能够较好地预测出广东西部县/市/区的水稻产量,同时可以很好地反映气象因素对广东省西部地区水稻产量的影响情况,对研究广东西部县/市/区乃至整个广东的水稻产量情况具有一定的参考价值。

       

      Abstract:
      Objective With the rapid development of big data technology and artificial intelligence, aiming at the problems of low accuracy, too large prediction area, too long model optimization time of the current rice yield prediction model, etc., a whale optimization algorithm-backpropagation (WOA-BP) rice yield prediction method based on Spark was proposed.
      Method This paper took rice yield and weather data of counties/cities/districts in the western region of Guangdong Province as the research object, used WOA to optimize the weights and bias values of BP neural network, and constructed a rice yield prediction model to improve the prediction accuracy. In addition, the WOA-BP algorithm was parallelized in the Spark framework to reduce the algorithm time overhead.
      Result In terms of model accuracy, by comparing the prediction results after inverse normalization, the mean absolute percentage error of the BP neural network model optimized by WOA decreased from 8.354% to 7.068%, and the mean absolute error decreased from 31.320 kg to 26.982 kg, the root mean square error dropped from 41.008 kg to 33.546 kg. In terms of run time, 3-node Spark cluster reduced runtime by 11 742 s over non-Spark mode, reducing time overhead by 44%.
      Conclusion The WOA-BP rice yield prediction method based on Spark can better predict rice yield in western Guangdong counties/cities/districts, and at the same time can well reflect the influence of weather factors on rice yield in western Guangdong Province, which is a reference for studying the rice yield situation in western Guangdong counties/cities/districts and even the whole Guangdong.

       

    /

    返回文章
    返回