Interspecies Prediction of Nitrogen Content in Processed Plant Samples Using Spectroscopic Modeling and Transfer Learning
Open Access
- 1 January 2026
- journal article
- Published by Wiley in Food and Energy Security
- Vol. 15 (1)
Abstract
Employing machine learning models on preprocessed samples is an effective alternative for leaf nitrogen quantification, reducing analysis time and improving fertilizer efficiency. This study evaluates predictive performance and transfer learning of models for nitrogen (N) concentration across different plant species, along with visual analysis of spectral patterns. A spectral dataset was developed using pre‐processed samples from crops (coffee, pear, sugarcane, bean, and maize), forage (Brachiaria), and ornamental plants (e.g., Gypsophila). Leaf samples were collected from field‐grown plants, oven‐dried at 60°C with forced air circulation, and ground to 2.0 mm. Spectra were measured with a FieldSpec spectroradiometer (350–2500 nm). Visual analysis compared plants of distinct photosynthetic cycles (C3 and C4) and among species of the same cycle. Nitrogen quantification was performed using Partial Least Squares Regression (PLSR) and Random Forest (RF). Transfer learning was assessed in three ways: (i) between species; (ii) temporal stability; (iii) evaluation with an independent dataset comprising multiple agricultural species. Results showed C3 plants had lower reflectance in the 400–670 nm bands and higher N levels compared to C4 crops. Regardless of crop type or photosynthetic cycle, characteristic absorption features were detected at 530 nm and 615 nm, absent in fresh samples. PLSR achieved superior performance ( R 2 = 0.95, RMSE = 2.16 g kg −1 , MAPE = 10.70%) compared to RF ( R 2 = 0.88, RMSE = 3.4 g kg −1 , MAPE = 13.48%). Edaphoclimatic and physiological conditions influenced transfer learning, highlighting the potential and limitations of applying spectral models across species and environments.Keywords
Funding Information
- Fundação de Amparo à Pesquisa do Estado de São Paulo (2024/10366‐7)
This publication has 50 references indexed in Scilit:
- Nitrogen retrieval in grapevine (Vitis vinifera L.) canopy by hyperspectral imagingComputers and Electronics in Agriculture, 2024
- Identifying the influencing factors of soil nitrous acid emissions using random forest modelAtmospheric Environment, 2024
- Hyperspectral reflectance and machine learning to monitor legume biomass and nitrogen accumulationComputers and Electronics in Agriculture, 2023
- New approach for rapid estimation of leaf nitrogen, phosphorus, and potassium contents in apple-trees using Vis/NIR spectroscopy based on wavelength selection coupled with machine learningComputers and Electronics in Agriculture, 2023
- Comparative analysis of seven machine learning algorithms and five empirical models to estimate soil thermal conductivityAgricultural and Forest Meteorology, 2022
- Use of traditional, modern, and hybrid modelling approaches for in situ prediction of dry matter yield and nutritive characteristics of pasture using hyperspectral datasetsAnimal Feed Science and Technology, 2020
- Near infrared (NIR) spectroscopy as a rapid and cost-effective method for nutrient analysis of plant leaf tissues2020
- Improving air quality prediction accuracy at larger temporal resolutions using deep learning and transfer learning techniquesAtmospheric Environment, 2019
- Estimating olive leaf nitrogen concentration using visible and near-infrared spectral reflectanceBiosystems Engineering, 2013
- Performance of some variable selection methods when multicollinearity is presentChemometrics and Intelligent Laboratory Systems, 2005