湖北农业科学 ›› 2026, Vol. 65 ›› Issue (6): 198-202.doi: 10.14088/j.cnki.issn0439-8114.2026.06.031

• 农业工程 • 上一篇    下一篇

基于BFOA-PSO改进DNN的黑土磷素含量预测

范英旭, 郭贵香, 闫茹, 李明峰   

  1. 安顺学院旅游生态与环境学院,贵州 安顺 561000
  • 收稿日期:2026-03-23 出版日期:2026-06-25 发布日期:2026-06-26
  • 作者简介:范英旭(1992-),男,四川成都人,讲师,博士,主要从事恢复生态学、植物生理生态学研究,(电子信箱)522427521@qq.com。
  • 基金资助:
    贵州省科技厅青年引导项目(黔科合基础QN〔2025〕204)

Prediction of black soil phosphorus content based on BFOA-PSO improved DNN

FAN Ying-xu, GUO Gui-xiang, YAN Ru, LI Ming-feng   

  1. School of Tourism, Ecology and Environment, Anshun University, Anshun 561000, Guizhou, China
  • Received:2026-03-23 Published:2026-06-25 Online:2026-06-26

摘要: 为提高黑土磷素含量的预测精度,基于热红外(TIR)影像,提出一种改进深度神经网络(DNN)的预测方法。首先,采用无人机搭载TIR传感器采集黑土TIR影像,并进行几何校正与大气校正等预处理;其次,针对DNN模型超参数难以全局寻优的问题,融合细菌觅食优化算法(BFOA)与粒子群优化算法(PSO)的优势,对DNN模型的隐含层数进行优化;最后,利用改进DNN模型对黑土TIR影像中的磷素含量进行预测,并通过实测数据验证模型性能。结果表明,改进DNN模型(DNN-BFOA-PSO)的隐含层数为3;改进DNN模型预测的均方根误差(RMSE)和平均绝对误差(MAE)分别为1.08%和1.42%,决定系数(R2)为0.99。与基准DNN模型相比,RMSEMAE分别下降了88.4%和85.6%,R2提升了0.09。与随机森林、特征筛选与随机森林、偏最小二乘回归模型相比,改进DNN模型对黑土磷素含量的预测性能最优。

关键词: 深度神经网络(DNN), 黑土, 磷素含量预测, BFOA算法, PSO算法

Abstract: To improve the prediction accuracy of phosphorus content in black soil, a prediction method based on an improved deep neural network (DNN) was proposed using thermal infrared (TIR) images. First, unmanned aerial vehicles equipped with TIR sensors were used to collect TIR images of black soil, and preprocessing such as geometric correction and atmospheric correction was conducted.Second, to address the difficulty of global optimization of DNN hyperparameters, the advantages of the bacterial foraging optimization algorithm (BFOA) and particle swarm optimization (PSO) were integrated to optimize the number of hidden layers of the DNN model. Finally, the improved DNN model was used to predict the phosphorus content in the TIR images of black soil, and the model performance was validated with measured data. The results showed that the number of hidden layers of the improved DNN model (DNN-BFOA-PSO) was 3. The root mean square error (RMSE) and mean absolute error (MAE) of the improved DNN model predictions were 1.08% and 1.42%, respectively, and the coefficient of determination (R2) was 0.99. Compared with the baseline DNN model, the RMSE and MAE decreased by 88.4% and 85.6%, respectively, and R2 increased by 0.09. Compared with random forest, feature selection combined with random forest, and partial least squares regression models, the improved DNN model achieved the best prediction performance for phosphorus content in black soil.

Key words: deep neural network (DNN), black soil, phosphorus content prediction, BFOA algorithm, PSO algorithm

中图分类号: