Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems
Descripción del Articulo
This study evaluated the use of visible and near-infrared (Vis-NIR) spectroscopy combined with machine learning (ML) algorithms to predict soil fertility-related properties in two contrasting agroecological regions of Peru: the Highlands and the Rainforest. A total of 297 soil samples were analyzed...
| Autores: | , , , , , , , , |
|---|---|
| Formato: | artículo |
| Fecha de Publicación: | 2026 |
| Institución: | Instituto Nacional de Innovación Agraria |
| Repositorio: | INIA-Institucional |
| Lenguaje: | inglés |
| OAI Identifier: | oai:repositorio.inia.gob.pe:20.500.12955/3126 |
| Enlace del recurso: | http://hdl.handle.net/20.500.12955/3126 https://doi.org/10.3390/rs18091331 |
| Nivel de acceso: | acceso abierto |
| Materia: | Vis-NIR spectroscopy machine learning Andean highlands rainforest soil fertility prediction models fertilizer recommendations precision agriculture Espectroscopia Vis-NIR Aprendizaje automático Tierras altas andinas Selva tropical Fertilidad del suelo Modelos de predicción Recomendaciones de fertilizantes Agricultura de precisión. https://purl.org/pe-repo/ocde/ford#4.01.00 Soil; Suelo; Nitrogen; Nitrógeno; Phosphor; Fósforo; Potassium; Potasio; Materia orgánica; Organic matter; Soil investigations; Análisis de suelo; Montaña; Mountains. |
| id |
INIA_dea9731b68ba9a0f3dc785234511e548 |
|---|---|
| oai_identifier_str |
oai:repositorio.inia.gob.pe:20.500.12955/3126 |
| network_acronym_str |
INIA |
| network_name_str |
INIA-Institucional |
| repository_id_str |
4830 |
| dc.title.none.fl_str_mv |
Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems |
| title |
Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems |
| spellingShingle |
Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems Pizarro Carcausto, Samuel Edwin Vis-NIR spectroscopy machine learning Andean highlands rainforest soil fertility prediction models fertilizer recommendations precision agriculture Espectroscopia Vis-NIR Aprendizaje automático Tierras altas andinas Selva tropical Fertilidad del suelo Modelos de predicción Recomendaciones de fertilizantes Agricultura de precisión. https://purl.org/pe-repo/ocde/ford#4.01.00 Soil; Suelo; Nitrogen; Nitrógeno; Phosphor; Fósforo; Potassium; Potasio; Materia orgánica; Organic matter; Soil investigations; Análisis de suelo; Montaña; Mountains. |
| title_short |
Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems |
| title_full |
Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems |
| title_fullStr |
Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems |
| title_full_unstemmed |
Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems |
| title_sort |
Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems |
| author |
Pizarro Carcausto, Samuel Edwin |
| author_facet |
Pizarro Carcausto, Samuel Edwin Ccopi Trucios, Dennis Ortega Quispe, Kevin Abner Contreras Pino, Duglas Lenin Ñaupari, Javier Cano, Deyvis Patricio Rosales , Solanch Rosy Loayza, Hildo Apolo Apolo, Orly Enrique |
| author_role |
author |
| author2 |
Ccopi Trucios, Dennis Ortega Quispe, Kevin Abner Contreras Pino, Duglas Lenin Ñaupari, Javier Cano, Deyvis Patricio Rosales , Solanch Rosy Loayza, Hildo Apolo Apolo, Orly Enrique |
| author2_role |
author author author author author author author author |
| dc.contributor.author.fl_str_mv |
Pizarro Carcausto, Samuel Edwin Ccopi Trucios, Dennis Ortega Quispe, Kevin Abner Contreras Pino, Duglas Lenin Ñaupari, Javier Cano, Deyvis Patricio Rosales , Solanch Rosy Loayza, Hildo Apolo Apolo, Orly Enrique |
| dc.subject.none.fl_str_mv |
Vis-NIR spectroscopy machine learning Andean highlands rainforest soil fertility prediction models fertilizer recommendations precision agriculture Espectroscopia Vis-NIR Aprendizaje automático Tierras altas andinas Selva tropical Fertilidad del suelo Modelos de predicción Recomendaciones de fertilizantes Agricultura de precisión. |
| topic |
Vis-NIR spectroscopy machine learning Andean highlands rainforest soil fertility prediction models fertilizer recommendations precision agriculture Espectroscopia Vis-NIR Aprendizaje automático Tierras altas andinas Selva tropical Fertilidad del suelo Modelos de predicción Recomendaciones de fertilizantes Agricultura de precisión. https://purl.org/pe-repo/ocde/ford#4.01.00 Soil; Suelo; Nitrogen; Nitrógeno; Phosphor; Fósforo; Potassium; Potasio; Materia orgánica; Organic matter; Soil investigations; Análisis de suelo; Montaña; Mountains. |
| dc.subject.ocde.none.fl_str_mv |
https://purl.org/pe-repo/ocde/ford#4.01.00 |
| dc.subject.agrovoc.none.fl_str_mv |
Soil; Suelo; Nitrogen; Nitrógeno; Phosphor; Fósforo; Potassium; Potasio; Materia orgánica; Organic matter; Soil investigations; Análisis de suelo; Montaña; Mountains. |
| description |
This study evaluated the use of visible and near-infrared (Vis-NIR) spectroscopy combined with machine learning (ML) algorithms to predict soil fertility-related properties in two contrasting agroecological regions of Peru: the Highlands and the Rainforest. A total of 297 soil samples were analyzed using portable spectroradiometers covering a spectral range of 350–2500 nm, applying transformations such as Savitzky–Golay smoothing, first derivative, and band depth. Predictive models were developed using PLSR, Random Forest, Support Vector Machines, and neural networks. Results show variable predictive performance across soil properties and ecosystems. Organic matter in Highland soils and calcium in Rainforest soils achieved the strongest test-set accuracy (R2 > 0.70), while pH and texture fractions showed moderate performance (R2 = 0.42–0.67), and mobile nutrients including phosphorus, potassium, and sodium showed limited predictive accuracy due to their weak spectral expression. Spectral predictions were further integrated into a structured nutrient balance framework to assess agronomic reliability. Nitrogen fertilizer recommendations showed the strongest agreement between observed and predicted values across both ecosystems, whereas K2O and CaO recommendations in Highland soils were substantially underestimated, demonstrating that property-level statistical performance does not guarantee agronomic reliability. These findings confirm that Vis-NIR spectroscopy combined with ML represents a fast, cost-effective, and sustainable alternative to conventional soil analysis, especially in rural areas with limited laboratory infrastructure. Expanding regional calibration datasets and exploring mid-infrared FTIR spectroscopy as a complementary technology are identified as priority directions for improving predictions of agronomically critical nutrients. |
| publishDate |
2026 |
| dc.date.accessioned.none.fl_str_mv |
2026-05-05T15:34:19Z |
| dc.date.available.none.fl_str_mv |
2026-05-05T15:34:19Z |
| dc.date.issued.fl_str_mv |
2026-04-26 |
| dc.type.none.fl_str_mv |
info:eu-repo/semantics/article |
| format |
article |
| dc.identifier.citation.none.fl_str_mv |
Pizarro, S., Ccopi, D., Ortega, K., Contreras, D., Ñaupari, J., Cano, D., Patricio, S., Loayza, H., & Apolo-Apolo, O. E. (2026). Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems. Remote Sensing, 18(9), Article 1331. https://doi.org/10.3390/rs18091331 |
| dc.identifier.issn.none.fl_str_mv |
2072-4292 |
| dc.identifier.uri.none.fl_str_mv |
http://hdl.handle.net/20.500.12955/3126 |
| dc.identifier.doi.none.fl_str_mv |
https://doi.org/10.3390/rs18091331 |
| identifier_str_mv |
Pizarro, S., Ccopi, D., Ortega, K., Contreras, D., Ñaupari, J., Cano, D., Patricio, S., Loayza, H., & Apolo-Apolo, O. E. (2026). Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems. Remote Sensing, 18(9), Article 1331. https://doi.org/10.3390/rs18091331 2072-4292 |
| url |
http://hdl.handle.net/20.500.12955/3126 https://doi.org/10.3390/rs18091331 |
| dc.language.iso.none.fl_str_mv |
eng |
| language |
eng |
| dc.relation.ispartof.none.fl_str_mv |
urn:issn:2072-4292 |
| dc.relation.ispartofseries.none.fl_str_mv |
Remote Sensing |
| dc.rights.none.fl_str_mv |
info:eu-repo/semantics/openAccess |
| dc.rights.uri.none.fl_str_mv |
http://creativecommons.org/licenses/by/4.0/ |
| eu_rights_str_mv |
openAccess |
| rights_invalid_str_mv |
http://creativecommons.org/licenses/by/4.0/ |
| dc.format.none.fl_str_mv |
application/pdf |
| dc.publisher.none.fl_str_mv |
MDPI |
| dc.publisher.country.none.fl_str_mv |
CH |
| publisher.none.fl_str_mv |
MDPI |
| dc.source.none.fl_str_mv |
Instituto Nacional de Innovación Agraria reponame:INIA-Institucional instname:Instituto Nacional de Innovación Agraria instacron:INIA |
| instname_str |
Instituto Nacional de Innovación Agraria |
| instacron_str |
INIA |
| institution |
INIA |
| reponame_str |
INIA-Institucional |
| collection |
INIA-Institucional |
| dc.source.uri.none.fl_str_mv |
Repositorio Institucional - INIA |
| bitstream.url.fl_str_mv |
https://repositorio.inia.gob.pe/bitstreams/a70bf9cc-0376-45d0-b8e0-c37ca45cf7bd/download https://repositorio.inia.gob.pe/bitstreams/e139e9de-b3a1-4292-b1c3-c5ac49e3c211/download https://repositorio.inia.gob.pe/bitstreams/05b3be28-7108-492b-9832-6eb3c9393109/download |
| bitstream.checksum.fl_str_mv |
a1dff3722e05e29dac20fa1a97a12ccf aa4ca61634128002c7fe212a95b2ce70 b0bcf08c4a75e85886ecf9915e4481d8 |
| bitstream.checksumAlgorithm.fl_str_mv |
MD5 MD5 MD5 |
| repository.name.fl_str_mv |
Repositorio Institucional INIA |
| repository.mail.fl_str_mv |
repositorio@inia.gob.pe |
| _version_ |
1865675013078646784 |
| spelling |
Pizarro Carcausto, Samuel EdwinCcopi Trucios, DennisOrtega Quispe, Kevin AbnerContreras Pino, Duglas LeninÑaupari, JavierCano, DeyvisPatricio Rosales , Solanch RosyLoayza, HildoApolo Apolo, Orly Enrique2026-05-05T15:34:19Z2026-05-05T15:34:19Z2026-04-26Pizarro, S., Ccopi, D., Ortega, K., Contreras, D., Ñaupari, J., Cano, D., Patricio, S., Loayza, H., & Apolo-Apolo, O. E. (2026). Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystems. Remote Sensing, 18(9), Article 1331. https://doi.org/10.3390/rs180913312072-4292http://hdl.handle.net/20.500.12955/3126https://doi.org/10.3390/rs18091331This study evaluated the use of visible and near-infrared (Vis-NIR) spectroscopy combined with machine learning (ML) algorithms to predict soil fertility-related properties in two contrasting agroecological regions of Peru: the Highlands and the Rainforest. A total of 297 soil samples were analyzed using portable spectroradiometers covering a spectral range of 350–2500 nm, applying transformations such as Savitzky–Golay smoothing, first derivative, and band depth. Predictive models were developed using PLSR, Random Forest, Support Vector Machines, and neural networks. Results show variable predictive performance across soil properties and ecosystems. Organic matter in Highland soils and calcium in Rainforest soils achieved the strongest test-set accuracy (R2 > 0.70), while pH and texture fractions showed moderate performance (R2 = 0.42–0.67), and mobile nutrients including phosphorus, potassium, and sodium showed limited predictive accuracy due to their weak spectral expression. Spectral predictions were further integrated into a structured nutrient balance framework to assess agronomic reliability. Nitrogen fertilizer recommendations showed the strongest agreement between observed and predicted values across both ecosystems, whereas K2O and CaO recommendations in Highland soils were substantially underestimated, demonstrating that property-level statistical performance does not guarantee agronomic reliability. These findings confirm that Vis-NIR spectroscopy combined with ML represents a fast, cost-effective, and sustainable alternative to conventional soil analysis, especially in rural areas with limited laboratory infrastructure. Expanding regional calibration datasets and exploring mid-infrared FTIR spectroscopy as a complementary technology are identified as priority directions for improving predictions of agronomically critical nutrients.This research was funded by the INIA project “Mejoramiento de los servicios de investigación y transferencia tecnológica en el manejo y recuperación de suelos agrícolas degradados y aguas para riego en la pequeña y mediana agricultura en los departamentos de Lima, Áncash, San Martín, Cajamarca, Lambayeque, Junín, Ayacucho, Arequipa, Puno y Ucayali” with CUI N°2487112 of the Ministry of Agrarian Development and Irrigation (MIDAGRI) of the Peruvian Government.application/pdfengMDPICHurn:issn:2072-4292Remote Sensinginfo:eu-repo/semantics/openAccesshttp://creativecommons.org/licenses/by/4.0/Instituto Nacional de Innovación Agrariareponame:INIA-Institucionalinstname:Instituto Nacional de Innovación Agrariainstacron:INIARepositorio Institucional - INIAVis-NIR spectroscopymachine learningAndean highlandsrainforestsoil fertilityprediction modelsfertilizer recommendationsprecision agricultureEspectroscopia Vis-NIRAprendizaje automáticoTierras altas andinasSelva tropicalFertilidad del sueloModelos de predicciónRecomendaciones de fertilizantesAgricultura de precisión.https://purl.org/pe-repo/ocde/ford#4.01.00Soil; Suelo; Nitrogen; Nitrógeno; Phosphor; Fósforo; Potassium; Potasio; Materia orgánica; Organic matter; Soil investigations; Análisis de suelo; Montaña; Mountains.Vis-NIR spectroscopy and machine learning for prediction of soil fertility indicators and fertilizer recommendation in Andean highland and rainforest agroecosystemsinfo:eu-repo/semantics/articleLICENSElicense.txtlicense.txttext/plain; charset=utf-81792https://repositorio.inia.gob.pe/bitstreams/a70bf9cc-0376-45d0-b8e0-c37ca45cf7bd/downloada1dff3722e05e29dac20fa1a97a12ccfMD51ORIGINALPizarro_et-al_2026_Vis-NIR_spectroscopy_machine_learning.pdfPizarro_et-al_2026_Vis-NIR_spectroscopy_machine_learning.pdfapplication/pdf7274781https://repositorio.inia.gob.pe/bitstreams/e139e9de-b3a1-4292-b1c3-c5ac49e3c211/downloadaa4ca61634128002c7fe212a95b2ce70MD52THUMBNAILPizarro_et-al_2026_Vis-NIR_spectroscopy_machine_learning.jpgimage/jpeg171669https://repositorio.inia.gob.pe/bitstreams/05b3be28-7108-492b-9832-6eb3c9393109/downloadb0bcf08c4a75e85886ecf9915e4481d8MD5320.500.12955/3126oai:repositorio.inia.gob.pe:20.500.12955/31262026-05-08 09:56:25.788http://creativecommons.org/licenses/by/4.0/info:eu-repo/semantics/openAccessopen.accesshttps://repositorio.inia.gob.peRepositorio Institucional INIArepositorio@inia.gob.peTk9UQTogQ09MT1FVRSBTVSBQUk9QSUEgTElDRU5DSUEgQVFVw40KRXN0YSBsaWNlbmNpYSBkZSBtdWVzdHJhIHNlIHByb3BvcmNpb25hIMO6bmljYW1lbnRlIGNvbiBmaW5lcyBpbmZvcm1hdGl2b3MuCgpMSUNFTkNJQSBERSBESVNUUklCVUNJw5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GVyYWNpw7NuIGVuIHN1IGVudsOtbywgc2Fsdm8gbGFzIHBlcm1pdGlkYXMgcG9yIGVzdGEgbGljZW5jaWEuCg== |
| score |
13.408945 |
Nota importante:
La información contenida en este registro es de entera responsabilidad de la institución que gestiona el repositorio institucional donde esta contenido este documento o set de datos. El CONCYTEC no se hace responsable por los contenidos (publicaciones y/o datos) accesibles a través del Repositorio Nacional Digital de Ciencia, Tecnología e Innovación de Acceso Abierto (ALICIA).
La información contenida en este registro es de entera responsabilidad de la institución que gestiona el repositorio institucional donde esta contenido este documento o set de datos. El CONCYTEC no se hace responsable por los contenidos (publicaciones y/o datos) accesibles a través del Repositorio Nacional Digital de Ciencia, Tecnología e Innovación de Acceso Abierto (ALICIA).