Yi Luo, Tang Bo-Hui, Dong Wang, Fangliang Cai, Zhao-Liang Li
Soil total nitrogen (STN) is a key indicator of soil fertility and plays a fundamental role in agricultural productivity and sustainable land management. However, achieving an accurate and spatially continuous estimate of STN at the field scale remains challenging due to inherent soil variability and the constraints of conventional sampling methods. In this study, we employed unmanned aerial vehicle (UAV)-based hyperspectral imagery to estimate STN by integrating spectral preprocessing, feature selection, and machine learning techniques. Multiple feature selection methods, including Pearson correlation analysis, variable importance in projection (VIP), and competitive adaptive reweighted sampling (CARS), were evaluated to identify the most informative spectral bands. Several regression models—support vector regression with radial basis function kernel (SVR-RBF), random forest (RF), Extra Trees, PCA-SVR-RBF, and XGBoost—were compared for STN prediction. Among these, the VIP-PCA-SVR-RBF model yielded the best performance, achieving a test R2 of approximately 0.77 and an RMSE of 0.45 g kg−1. The integration of VIP-based feature selection with PCA dimensionality reduction significantly enhanced predictive accuracy and generalization capability compared to the other models tested. Spatial prediction maps derived from the optimal model revealed considerable heterogeneity in STN distribution across the study area. These results underscore the potential of UAV hyperspectral remote sensing for high-resolution mapping of soil nitrogen and offer a promising framework for precision nutrient management in agriculture.