Spectroscopic measurement of near-infrared soil pH parameters based on GhostNet-CBAM

J Jianguo Zhu W Wenjin Wang (State Key Laboratory for Vegetation Structure, Function and Construction, Key Laboratory of Biosystems Homeostasis and Protection, College of Life Sciences, Zhejiang University) P Peng Tian (National Engineering Research Center of Lower-Carbon Catalysis Technology, Dalian National Laboratory for Clean Energy, Dalian Institute of Chemical Physics)

Abstract

Soil pH is an important parameter that affects plant nutrient uptake and biological activity and has received extensive attention and research. In this paper, we propose a neural network algorithm using Ghostnet combined with Convolutional Block Attention Module (CABM) to realize the near-infrared (NIR) PH spectral measurement of soil. The method firstly utilizes Monte Carlo Cross Validation (MCCV) method to reject the anomalous samples in the data, and then uses GhostNet combined with CBAM algorithm to train and predict the PH values of the four Lucas soil spectral data measured by the two different methods, and compares the prediction results with those of PLSR and VGGNet-16 methods. The results showed that the R2 of the GhostNet-CBAM method could reach up to 0.9447, and the RMSE reached as low as 0.3267, and the scatter density plots of the predicted and true values further confirmed that the method could quickly and accurately obtain the soil pH parameters.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 20, Issue 6
Published June 13, 2025
Pages e0325426
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (3)

J

Jianguo Zhu

W

Wenjin Wang

State Key Laboratory for Vegetation Structure, Function and Construction, Key Laboratory of Biosystems Homeostasis and Protection, College of Life Sciences, Zhejiang University

P

Peng Tian

National Engineering Research Center of Lower-Carbon Catalysis Technology, Dalian National Laboratory for Clean Energy, Dalian Institute of Chemical Physics