Machine learning-based territorial classification of agricultural profiles in Colombia: A random forest approach
DOI:
https://doi.org/10.21533/pen.v14.i4.2103Abstract
Each year, Colombia generates a vast amount of agricultural data reflecting the evolution of production systems across different regions. Municipal Agricultural Assessments (EVA) annually compile records of production, planted areas, harvested areas, and yields for municipalities throughout the country, making them one of the main public sources of information for the agricultural sector. However, these records have primarily been used for compiling statistics and official reports, while their potential to explain differences in agricultural performance across regions using machine learning techniques has been largely unexplored. To leverage this information from a territorial perspective, this research developed a territorial intelligence framework that transforms EVA database records into interpretable agricultural profiles using derived indicators and machine learning models. To this end, five territorial indicators were constructed: real productivity, harvest efficiency, loss index, crop share, and historical variability. These indicators were derived from agricultural records collected between 2019 and 2024 and allowed for the representation of different dimensions of agricultural performance beyond traditional yield measures. The proposed territorial indicators made it possible to distinguish four agricultural profiles describing different patterns of agricultural performance across Colombian agricultural records. Decision Tree and Random Forest models were evaluated for their ability to recognize the proposed agricultural profiles using municipality-level data separation for model validation. Random Forest achieved a classification accuracy of 76.4% ± 0.9%, while Loss Index, Historical Variability, and Crop Participation showed the highest variable importance among the predictors. The resulting agricultural profiles describe different patterns of territorial agricultural performance across Colombian municipalities.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Jorge Saul Fandiño Pelayo, Ana Maria Porras Ravelo, Johan Leandro Tellez Garzón, Rocio Cazes Ortega, Renato Gonzalez Robles

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.




