Skip to main content
Log in

Estimation of nitrogen content in wheat from proximal hyperspectral data using machine learning and explainable artificial intelligence (XAI) approach

  • Original Article
  • Published:
Modeling Earth Systems and Environment Aims and scope Submit manuscript

Abstract

Nitrogen (N) is a primary macronutrient essential for plant structures and metabolic processes, and the deficiency of N leads to critical plant disorders. The spectral reflectance can be used to predict the N status of plants using hyperspectral data. Therefore, the N status of wheat was predicted from hyperspectral data using machine learning techniques. Different derivative pre-processing treatments have been shown to have an impact on the spectral model performance. Therefore, we used different spectral pre-processing techniques (first derivative, deresolve and deresolve plus first derivative) coupled with six machine learning regression models (Support Vector Regression, Random Forest, k-nearest neighbours, Multilayer Perceptron, Gradient Boosting Regression and Partial Least Square Regression) to predict the N status of wheat. The deresolve plus first derivative spectral pre-processing technique along with Random Forest and Gradient Boosting Regression (R2 > 0.85) were better than the other combination of spectral pre-processing and machine learning models to predict the N status of wheat. The eXplainable Artificial Intelligence (XAI) tool was used to provide the local and global explanations of the model decisions using SHapley Additive explanations (SHAP) values. The important wavelengths predicting N status were between 790 and 862 nm (global model) for Random Forest model. However, these wavelengths varied with the growth stages of wheat. The most important wavelength were 672, 794, 804, 806, 816 and 820 nm during the first six days of wheat growth (local model), 716, 794, 804 and 806 nm after 45 days of wheat growth, 724, 806, 820, 1556 and 1582 after 63–72 days of wheat growth and 718, 720, 724 and 1272 nm after 91–97 days of wheat growth. These results suggest that XAI tools are useful to explain the complex machine learning models related to hyperspectral data for remote monitoring of N status of wheat.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

References

  • Adadi A, Berrada M (2018) Peeking inside the black-box: a survey on explainable artificial intelligence (XAI). IEEE Access 6:52138–52160

    Article  Google Scholar 

  • Almasri MN, Kaluarachchi JJ (2004) Assessment and management of long-term nitrate pollution of ground water in agriculture-dominated watersheds. J Hydrol 295(1–4):225–245

    Article  Google Scholar 

  • Asner GP, Martin RE, Tupayachi R, Emerson R, Martinez P, Sinca F, Lugo AE (2011) Taxonomy and remote sensing of leaf mass per area (LMA) in humid tropical forests. Ecol Appl 21(1):85–98

    Article  Google Scholar 

  • Behmann J, Mahlein AK, Rumpf T, Römer C, Plümer L (2015) A review of advanced machine learning methods for the detection of biotic stress in precision crop protection. Precision Agric 16(3):239–260. https://doi.org/10.1007/s11119-014-9372-7

    Article  Google Scholar 

  • Belle V, Papantonis I (2020) Principles and practice of explainable machine learning. arXiv Preprint https://arXiv.org/2009.11698.

  • Craig JC (2002) Multi-scale remote sensing techniques for vegetation stress detection. University of Florida, Gaineville, Florida

    Google Scholar 

  • Developers S-L (n.d.) Scikit-learn. https://scikit-learn.org/stable/index.html. Accessed 16 March 2021

  • Diacono M, Rubino P, Montemurro F (2013) Precision nitrogen management of wheat. A review. Agronomy Sustain Dev 33(1):219–241

    Article  Google Scholar 

  • Foundation PS (n.d.) Python. https://www.python.org/. Accessed 16 March 2021

  • Google Research (n.d.) Colaboratory (Colab). https://colab.research.google.com/. Accessed 16 March 2021

  • Green DS, Erickson JE, Kruger EL (2003) Foliar morphology and canopy nitrogen as predictors of light-use efficiency in terrestrial vegetation. Agric Meteorol 115(3–4):163–171

    Article  Google Scholar 

  • Hansen PM, Schjoerring JK (2003) Reflectance measurement of canopy biomass and nitrogen status in wheat crops using normalized difference vegetation indices and partial least squares regression. Remote Sens Environ 86(4):542–553. https://doi.org/10.1016/S0034-4257(03)00131-7

    Article  Google Scholar 

  • Holzinger A (2018) From machine learning to explainable AI. In 2018 world symposium on digital intelligence for systems and machines (DISA) (55–66) IEEE

  • Im J, Jensen JR (2016) Hyperspectral remote sensing of vegetation. Hyperspectral remote sensing of vegetation 6:1943–1961 https://doi.org/10.1201/b11222

  • Karnieli A (2007) Wheat and maize monitoring based on ground spectral measurements and multivariate data analysis. J Appl Remote Sens 1(1):13530. https://doi.org/10.1117/1.2784799

    Article  Google Scholar 

  • Li F, Mistele B, Hu Y, Chen X, Schmidhalter U (2014) Reflectance estimation of canopy nitrogen content in winter wheat using optimised hyperspectral spectral indices and partial least squares regression. Eur J Agron 52:198–209. https://doi.org/10.1016/j.eja.2013.09.006

    Article  Google Scholar 

  • Lundberg S (n.d.) SHAP documentation. https://shap.readthedocs.io/en/latest/. Accessed 16 March 2021

  • Lundberg S, Lee S-I (2017) A unified approach to interpreting model predictions. arXiv Preprint https://arXiv.org/1705.07874

  • Mazzanti S (2020) SHAP Values Explained Exactly How You Wished Someone Explained to You. https://towardsdatascience.com/shap-explained-the-way-i-wish-someone-explained-it-to-me-ab81cc69ef30. Accessed 5 July 2021.

  • Merzlyak MN, Solovchenko AE, Gitelson AA (2003) Reflectance spectral features and non-destructive estimation of chlorophyll, carotenoid and anthocyanin content in apple fruit. Postharvest Biol Technol 27(2):197–211

    Article  Google Scholar 

  • Molnar C (2020) Interpretable machine learning. Lulu. com.

  • Muñoz-Huerta RF, Guevara-Gonzalez RG, Contreras-Medina LM, Torres-Pacheco I, Prado-Olivarez J, Ocampo-Velazquez RV (2013) A review of methods for sensing the nitrogen status in plants: advantages, disadvantages and recent advances. Sensors 13(8):10823–10843

    Article  Google Scholar 

  • Nguyen HT, Lee BW (2006) Assessment of rice leaf growth and nitrogen status by hyperspectral canopy reflectance and partial least square regression. Eur J Agron 24(4):349–356. https://doi.org/10.1016/j.eja.2006.01.001

    Article  Google Scholar 

  • Ollinger SV, Richardson AD, Martin ME, Hollinger DY, Frolking SE, Reich PB, Oren R (2008) Canopy nitrogen, carbon assimilation, and albedo in temperate and boreal forests: functional relations and potential climate feedbacks. Proc Natl Acad Sci 105(49):19336–19341

    Article  Google Scholar 

  • Osco LP, Ramos APM, Faita Pinheiro MM, Moriya ÉAS, Imai NN, Estrabis N, de Jorge LA (2020) A machine learning framework to predict nutrient content in valencia-orange leaf hyperspectral measurements. Remote Sens 12(6):906

    Article  Google Scholar 

  • Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, Dubourg V (2011) Scikit-learn: machine learning in Python. J Mach Learn Res 12:2825–2830

    Google Scholar 

  • Pimstein A, Bonfil DJ, Karnieli A (n.d.) Wheat canopy spectra collected throughout growing season. Data set. [http://ecosis.org] from the Ecological Spectral Information System (EcoSIS). https://ecosis.org/package/wheat-canopy-spectra-collected-throughout-growing-season. Accessed 20 Jan 2021

  • Rodriguez D, Fitzgerald GJ, Belford R, Christensen LK (2006) Detection of nitrogen deficiency in wheat from spectral reflectance indices and basic crop eco-physiological concepts. Aust J Agric Res 57(7):781–789

    Article  Google Scholar 

  • Samek W, Müller K R (2019) Towards explainable artificial intelligence. In Explainable AI: interpreting, explaining and visualizing deep learning. Springer. pp. 5–22

  • Shi T, Cui L, Wang J, Fei T, Chen Y, Wu G (2013) Comparison of multivariate methods for estimating soil total nitrogen with visible/near-infrared spectroscopy. Plant Soil 366(1):363–375

    Article  Google Scholar 

  • Sims DA, Gamon JA (2002) Relationships between leaf pigment content and spectral reflectance across a wide range of species, leaf structures and developmental stages. Remote Sens Environ 81(2–3):337–354

    Article  Google Scholar 

  • Singh A, Ganapathysubramanian B, Singh AK, Sarkar S (2016) Machine learning for high-throughput stress phenotyping in plants. Trends Plant Sci 21(2):110–124. https://doi.org/10.1016/j.tplants.2015.10.015

    Article  Google Scholar 

  • Strachan IB, Pattey E, Boisvert JB (2002) Impact of nitrogen and environmental conditions on corn as detected by hyperspectral reflectance. Remote Sens Environ 80(2):213–224

    Article  Google Scholar 

  • Stroppiana D, Boschetti M, Brivio PA, Bocchi S (2009) Plant nitrogen concentration in paddy rice from field canopy hyperspectral radiometry. Field Crop Res 111(1–2):119–129

    Article  Google Scholar 

  • Thorp KR, Wang G, Bronson KF, Badaruddin M, Mon J (2017) Hyperspectral data mining to identify relevant canopy spectral features for estimating durum wheat growth, nitrogen status, and grain yield. Comput Electron Agric 136:1–12

    Article  Google Scholar 

  • Verrelst J, Alonso L, Camps-Valls G, Delegido J, Moreno J (2011) Retrieval of vegetation biophysical parameters using Gaussian process techniques. IEEE Trans Geosci Remote Sens 50(5):1832–1843

    Article  Google Scholar 

  • Verrelst J, Muñoz J, Alonso L, Delegido J, Rivera JP, Camps-Valls G, Moreno J (2012) Machine learning regression algorithms for biophysical parameter retrieval: opportunities for sentinel-2 and-3. Remote Sens Environ 118:127–139

    Article  Google Scholar 

Download references

Funding

This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Harpinder Singh.

Ethics declarations

Conflict of interest

The authors have no conflict of interest to declare that are relevant to the content of this article.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Singh, H., Roy, A., Setia, R.K. et al. Estimation of nitrogen content in wheat from proximal hyperspectral data using machine learning and explainable artificial intelligence (XAI) approach. Model. Earth Syst. Environ. 8, 2505–2511 (2022). https://doi.org/10.1007/s40808-021-01243-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s40808-021-01243-z

Keywords

Navigation