|
|
|
|
|
|
Soil pH Prediction Based on Convolution Neural Network and Near Infrared Spectroscopy |
TANG Yong-sheng, CHEN Zheng-guang* |
College of Electrical and Information, Heilongjiang Bayi Agricultural University, Daqing 163319, China |
|
|
Abstract The soil pH is the key factor affecting the transformation of soil nutrients and the soil fertility. The detection of pH value of soil by near-infrared spectroscopy can provide an important basis for the development and utilization of soil resources. As a typical algorithm of deep learning in artificial intelligence, the convolutional neural network can not only extract the characteristics of complex spectral data but also reduce the training parameters of the network and improve the efficiency of network operation, because its structure has the ability of “local perception, weight sharing”. In this paper, the convolution neural network is applied to the modeling and analysis of the near-infrared spectrum, and a soil pH prediction method based on convolution neural network and the near-infrared spectrum is proposed. The network is built by Python calling Tensor Flow toolkit, and its structure is composed of the input layer, convolution layer, pooling layer and full connection layer. The spectral sample dataset of mineral soils, collected from the Statistical Survey of Land Use and Coverage conducted by the European Statistical Office in 2008—2012, was employed as an object of study. In order to eliminate the baseline drift in the spectrum and improve the signal-to-noise ratio, the first derivative and Savitzky-Golay smoothing of the original visible near-infrared spectrum (400~2 500 nm) were carried out. In the model training process, 15 000 samples are randomly selected as the training set, and the remaining 2 272 samples are selected as the test set. The effects of the number of convolution layers and training iterations on the model performance are discussed. The ReLU activation function and Adam optimizer are used to prevent the gradient disappearance of the model and improve the stability of the model. Then, the goodness of fit of the model is analyzed and calculated, and finally, the network model is compared with the traditional BP and PLSR models. The experimental results show that when the number of iterations of the model is 2 500, and the number of convolution layers is 4, the model reaches the best performance, and the mean square error of the training set is reduced from 1.898 to 0.097; the goodness of fit of the test set is 0.909, which is 0.117 and 0.218 higher than BP and PLSR models respectively. The results indicate that convolution neural network can extract the internal characteristic information of soil near-infrared spectrum, so as to realize efficient and accurate prediction of soil pH on a large scale. CNNR model can provide guidance for crop planting and precision fertilization to achieve the goal of soil structure stability and sustainable development. The convolution neural network-based NIRS regression method can also be applied to other soil information research.
|
Received: 2020-02-10
Accepted: 2020-05-22
|
|
Corresponding Authors:
CHEN Zheng-guang
E-mail: ruzee@sina.com
|
|
[1] Ferreira E C, Neto J G, Milori D M, et al. Spectrochimica Acta Part B: Atomic Spectroscopy, 2015,110: 96.
[2] Patil S, Ghadi H, Ramgir N, et al. Sensors and Actuators B: Chemical, 2019,286: 583.
[3] SHEN Zhang-quan, WANG Ke(沈掌泉,王 珂). Journal of Infrared and Millimeter Waves(红外与毫米波学报),2010,29(1): 32.
[4] SHENG Meng-ge, WANG Kai, WANG Yu-jie, et al(盛梦鸽,王 凯,王玉洁,等). Journal of Anhui Agricultural University(安徽农业大学学报),2018,45(4): 580.
[5] WANG Kai-long, XIONG Hei-gang, ZHANG Fang(王凯龙,熊黑钢,张 芳). Arid Zone Research(干旱区研究),2014,31(6): 1005.
[6] GAO Xiao-hong, YANG Yang, ZHANG Wei, et al(高小红,杨 扬,张 威,等). Remote Sensing Technology and Application(遥感技术与应用),2015,30(5):849.
[7] FANG Xiang, WANG Wen-cai, JIN Xiu, et al(方 向,王文才,金 秀,等). Jiangsu Journal of Agricultural Sciences(江苏农业学报),2019,35(5):1112.
[8] LeCun Y, Kavukcuoglu K, Farabet C. Convolutional Network and Application in Vision. Proceedings of 2010 IEEE International Symposium on Circuits and Systems, 2010: 253.
[9] Sarikaya R, Hinton G E, Deoras A. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 2014,22(4): 778.
[10] Abdel-Hamid O, Mohamed A R, Jiang H, et al. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 2014,22(10): 1533.
[11] Panagos P, Meusburger K, Ballabio C, et al. Science of the Total Environment, 2014,479: 189.
[12] Rossel R V, Behrens T. Geoderma, 2010,158(1-2): 46.
[13] Yang M, Xu D, Chen S, et al. Sensors, 2019, 19(2): 263.
[14] Padarian J, Minasny B, McBratney A B. Geoderma Regional, 2019,16: e00198. |
[1] |
GAO Feng1, 2, XING Ya-ge3, 4, LUO Hua-ping1, 2, ZHANG Yuan-hua3, 4, GUO Ling3, 4*. Nondestructive Identification of Apricot Varieties Based on Visible/Near Infrared Spectroscopy and Chemometrics Methods[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 44-51. |
[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] |
BAO Hao1, 2,ZHANG Yan1, 2*. Research on Spectral Feature Band Selection Model Based on Improved Harris Hawk Optimization Algorithm[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 148-157. |
[4] |
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. |
[5] |
BAI Xue-bing1, 2, SONG Chang-ze1, ZHANG Qian-wei1, DAI Bin-xiu1, JIN Guo-jie1, 2, LIU Wen-zheng1, TAO Yong-sheng1, 2*. Rapid and Nndestructive Dagnosis Mthod for Posphate Dficiency in “Cabernet Sauvignon” Gape Laves by Vis/NIR Sectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3719-3725. |
[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] |
HU Cai-ping1, HE Cheng-yu2, KONG Li-wei3, ZHU You-you3*, WU Bin4, ZHOU Hao-xiang3, SUN Jun2. Identification of Tea Based on Near-Infrared Spectra and Fuzzy Linear Discriminant QR Analysis[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3802-3805. |
[8] |
LIU Xin-peng1, SUN Xiang-hong2, QIN Yu-hua1*, ZHANG Min1, GONG Hui-li3. Research on t-SNE Similarity Measurement Method Based on Wasserstein Divergence[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(12): 3806-3812. |
[9] |
LUO Li, WANG Jing-yi, XU Zhao-jun, NA Bin*. Geographic Origin Discrimination of Wood Using NIR Spectroscopy
Combined With Machine Learning Techniques[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3372-3379. |
[10] |
ZHANG Shu-fang1, LEI Lei2, LEI Shun-xin2, TAN Xue-cai1, LIU Shao-gang1, YAN Jun1*. Traceability of Geographical Origin of Jasmine Based on Near
Infrared Diffuse Reflectance Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3389-3395. |
[11] |
YANG Qun1, 2, LING Qi-han1, WEI Yong1, NING Qiang1, 2, KONG Fa-ming1, ZHOU Yi-fan1, 2, ZHANG Hai-lin1, WANG Jie1, 2*. Non-Destructive Monitoring Model of Functional Nitrogen Content in
Citrus Leaves Based on Visible-Near Infrared Spectroscopy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3396-3403. |
[12] |
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. |
[13] |
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. |
[14] |
KANG Ming-yue1, 3, WANG Cheng1, SUN Hong-yan3, LI Zuo-lin2, LUO Bin1*. Research on Internal Quality Detection Method of Cherry Tomatoes Based on Improved WOA-LSSVM[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(11): 3541-3550. |
[15] |
HUANG Hua1, LIU Ya2, KUERBANGULI·Dulikun1, ZENG Fan-lin1, MAYIRAN·Maimaiti1, AWAGULI·Maimaiti1, MAIDINUERHAN·Aizezi1, GUO Jun-xian3*. Ensemble Learning Model Incorporating Fractional Differential and
PIMP-RF Algorithm to Predict Soluble Solids Content of Apples
During Maturing Period[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(10): 3059-3066. |
|
|
|
|