|
|
|
|
|
|
Research on Prediction Model of Soil Nitrogen Content Based on
Encoder-CNN |
JI Rong-hua1, 2, ZHAO Ying-ying2, LI Min-zan2, ZHENG Li-hua2* |
1. Yantai Research Institute of China Agricultural University, Yantai 264670, China
2. Key Laboratory of Modern Precision Agriculture System Integration Research, Ministry of Education, China Agricultural University, Beijing 100083, China
|
|
|
Abstract Poor generalization ability of soil nitrogen content prediction models based on spectroscopy is the bottleneck of its actual application in agriculture production. However, the deep learning model shows strong potential for generalization because of its automatic feature extraction and excellent nonlinear expression. In this paper, a spectral prediction model of soil nitrogen content combining the auto-encoder and convolutional neural network (Encoder-CNN) was proposed, the influence of model structure and parameters on model performance was explored, and its generalization ability was investigated. After researching the previous references and analyzing the correlation between wavelengths and soil nitrogen content, 180 wavelengths with the highest correlation were selected and taken as the input of the Encoder-CNN model. The output of the Encoder-CNN model was the soil nitrogen content. The Encoder-CNN model first used the auto-encoder to reduce the dimension of 180 wavelengths and then predicted the soil nitrogen content by its convolutional neural network. Two network structures were designed. Each network structure had two different parameter settings. Therefore, four models were used to explore the effects of structure and parameters of the Encoder-CNN soil nitrogen content spectral prediction model on modeling performance. Encoder CNN models were trained by the LUCAS data set. According to the 3σ principle, 20 791 data were obtained from LUCAS and then divided into a training set (18 711) and test set (2 080). The results were analyzed and discussed, and several conclusions were achieved in this research. The reproduction effect of the automatic encoder reached the best when the number of neurons in the last hidden layer was set to 30 with the same number of hidden layers as the others; the more hidden layers, the better the reproduction effect. As for the prediction part based on CNN, increasing the number of convolution kernels, especially 1×1 convolution kernels, could improve the prediction performance and reliability. By adding pooling layer in CNN, the model’s prediction accuracy was improved to more than 0.90. The model’s performance could also be improved by increasing the number of neurons in the full junction layer. The Encoder-CNN model built by the LUCAS data set was migrated to the Heilongjiang data set, and the generalization ability of the model was observed and evaluated. The prediction accuracy of the model, which was trained 100 times by the Heilongjiang data set, could reach more than 0.90. When the number of iterations was set to 900, the model’s prediction accuracy could be as high as 0.98. The results showed that the proposed Encoder-CNN spectral prediction model of soil nitrogen content had good generalization ability, and it could be used to detect soil nitrogen content after the model migration process.
|
Received: 2021-04-05
Accepted: 2021-06-10
|
|
Corresponding Authors:
ZHENG Li-hua
E-mail: zhenglh@cau.edu.cn
|
|
[1] Ji W, Li S, Chen S, et al. Soil and Tillage Research, 2016, 155:492.
[2] Nie Pengcheng, Dong Tao, He Yong, et al. Sensors, 2017, 17(5):1102.
[3] ZHAO Yan-dong, PI Ting-ting(赵燕东,皮婷婷). Transactions of the Chinese Society for Agricultural Machinery(农业机械学报), 2016, 47(3):144.
[4] ZHOU Peng, YANG Wei, LI Min-zan, et al(周 鹏,杨 玮,李民赞,等). Transactions of the Chinese Society for Agricultural Machinery(农业机械学报), 2017, 48(S1):271.
[5] Marcelo de Souza, André Filgueiras P, Coelho, et al. Journal of Near Infrared Spectroscopy, 2016, 24(3):293.
[6] Li X Y, Fan P P, Liu Y, et al. Journal of Applied Spectroscopy, 2019, 86(4):765.
[7] Xu Y, Wang X, Bai J, et al. Ecological Indicators, 2020, 111:106002.
[8] Fang K, Shen C, Kifer D, et al. Geophysical Research Letters, 2017, 44(21):11030.
[9] Zhang X, Lin T, Xu J, et al. Analytica Chimica Acta, 2019, 1058:48.
[10] Ng W, Minasny B, Mendes W D S, et al. Soil, 2020, 6(2):565.
[11] Tsakiridis N L, Keramaris K D, Theocharis J B, et al. Geoderma, 2020, 367:114208.
[12] Wang Y, Li M, Ji R, et al. Sensors (Basel, Switzerland), 2020, 20(24):7078.
|
[1] |
XU Tian1, 2, LI Jing1, 2, LIU Zhen-hua1, 2*. Remote Sensing Inversion of Soil Manganese in Nanchuan District, Chongqing[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 69-75. |
[2] |
LI Xin-ting, ZHANG Feng, FENG Jie*. Convolutional Neural Network Combined With Improved Spectral
Processing Method for Potato Disease Detection[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 215-224. |
[3] |
LAN Yan1,WANG Wu1,XU Wen2,CHAI Qin-qin1*,LI Yu-rong1,ZHANG Xun2. Discrimination of Planting and Tissue-Cultured Anoectochilus Roxburghii Based on SMOTE and Inception-CNN[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 158-163. |
[4] |
LI Hu1, ZHONG Yun1, 2, FENG Ya-ting1, LIN Zhen1, ZHU Shi-jiang1, 2*. Multi-Vegetation Index Soil Moisture Inversion Model Based on UAV
Remote Sensing[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 207-214. |
[5] |
HAN Xue1, 2, LIU Hai1, 2, LIU Jia-wei3, WU Ming-kai1, 2*. Rapid Identification of Inorganic Elements in Understory Soils in
Different Regions of Guizhou Province by X-Ray
Fluorescence Spectrometry[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 225-229. |
[6] |
WANG Qi-biao1, HE Yu-kai1, LUO Yu-shi1, WANG Shu-jun1, XIE Bo2, DENG Chao2*, LIU Yong3, TUO Xian-guo3. Study on Analysis Method of Distiller's Grains Acidity Based on
Convolutional Neural Network and Near Infrared Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3726-3731. |
[7] |
CHENG Hui-zhu1, 2, YANG Wan-qi1, 2, LI Fu-sheng1, 2*, MA Qian1, 2, ZHAO Yan-chun1, 2. Genetic Algorithm Optimized BP Neural Network for Quantitative
Analysis of Soil Heavy Metals in XRF[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3742-3746. |
[8] |
MENG Shan1, 2, LI Xin-guo1, 2*. Estimation of Surface Soil Organic Carbon Content in Lakeside Oasis Based on Hyperspectral Wavelet Energy Feature Vector[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3853-3861. |
[9] |
LI Qi-chen1, 2, LI Min-zan1, 2*, YANG Wei2, 3, SUN Hong2, 3, ZHANG Yao1, 3. Quantitative Analysis of Water-Soluble Phosphorous Based on Raman
Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3871-3876. |
[10] |
HUANG Meng-qiang1, KUANG Wen-jian2, 3*, LIU Xiang1, HE Liang4. Quantitative Analysis of Cotton/Polyester/Wool Blended Fiber Content by Near-Infrared Spectroscopy Based on 1D-CNN[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3565-3570. |
[11] |
XIE Peng, WANG Zheng-hai*, XIAO Bei, CAO Hai-ling, HUANG Yi, SU Wen-lin. Hyperspectral Quantitative Inversion of Soil Selenium Content Based on sCARS-PSO-SVM[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3599-3606. |
[12] |
HUANG Zhao-di1, CHEN Zai-liang2, WANG Chen3, TIAN Peng2, ZHANG Hai-liang2, XIE Chao-yong2*, LIU Xue-mei4*. Comparing Different Multivariate Calibration Methods Analyses for Measurement of Soil Properties Using Visible and Short Wave-Near
Infrared Spectroscopy Combined With Machine Learning Algorithms[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3535-3540. |
[13] |
FENG Hai-kuan1, 2, FAN Yi-guang1, TAO Hui-lin1, YANG Fu-qin3, YANG Gui-jun1, ZHAO Chun-jiang1, 2*. Monitoring of Nitrogen Content in Winter Wheat Based on UAV
Hyperspectral Imagery[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(10): 3239-3246. |
[14] |
AN Bai-song1, 2, WANG Xue-mei1, 2*, HUANG Xiao-yu1, 2, KAWUQIATI Bai-shan1, 2. Hyperspectral Estimation of Soil Lead Content Based on Random Frog Band Selection Algorithm[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(10): 3302-3309. |
[15] |
CAI Jian-rong1, 2, HUANG Chu-jun1, MA Li-xin1, ZHAI Li-xiang1, GUO Zhi-ming1, 3*. Hand-Held Visible/Near Infrared Nondestructive Detection System for Soluble Solid Content in Mandarin by 1D-CNN Model[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(09): 2792-2798. |
|
|
|
|