Desarrollo de un algoritmo para predecir la producción de maíz en el departamento del Meta a 5 años, utilizando el lenguaje de programación Python.
| dc.contributor.advisor | Cogollo Torres, Cristina Isabel | |
| dc.contributor.author | Rojas Perea, Nicolas Andres | |
| dc.contributor.corporatename | Universidad Santo Tomas | |
| dc.contributor.googlescholar | https://scholar.google.com/citations?user=IEoILyQAAAAJ&hl=es | |
| dc.contributor.orcid | https://orcid.org/0009-0000-4729-0584 | |
| dc.date.accessioned | 2026-07-23T20:38:19Z | |
| dc.date.available | 2026-07-23T20:38:19Z | |
| dc.date.issued | 2026-04-21 | |
| dc.description | La producción de maíz en el departamento del Meta presenta variaciones asociadas al área sembrada, área cosechada, rendimiento, municipio y sistema de producción, lo cual dificulta la planeación agrícola, logística y productiva de mediano plazo. En este contexto, el presente estudio desarrolló un algoritmo predictivo en Python para estimar la producción de maíz en el Meta, utilizando microdatos históricos de la Unidad de Planificación Rural Agropecuaria (UPRA) correspondientes al periodo 2006–2024. La metodología incluyó la recolección, depuración y organización de los datos, así como la homologación de la información por año, municipio y desagregación del cultivo. Posteriormente, se aplicó un modelo de aprendizaje automático basado en Random Forest Regressor, incorporando como variables de entrada el año, municipio codificado, técnica de cultivo codificada, área sembrada, área cosechada y rendimiento. El modelo fue entrenado y validado mediante una división de datos 80/20, optimización de hiperparámetros con GridSearchCV y evaluación mediante métricas como RMSE, MAPE y R². Los resultados mostraron que el algoritmo propuesto presentó un mejor desempeño frente a un método tradicional de media móvil de tres años, logrando una reducción del RMSE del 97,91 %, un MAPE de 7,90 % y un coeficiente R² de 0,9943. Asimismo, el análisis de importancia de variables identificó el área cosechada y el rendimiento como los factores de mayor peso en la predicción de la producción. Finalmente, se generó una proyección para el periodo 2025–2030, diferenciando entre maíz tecnificado y maíz tradicional. El estudio concluye que el algoritmo desarrollado puede servir como herramienta de apoyo para la toma de decisiones en la planeación agrícola, logística, de insumos, almacenamiento y abastecimiento del maíz en el departamento del Meta. | |
| dc.description.abstract | Maize production in the department of Meta shows variations associated with planted area, harvested area, yield, municipality, and production system, which makes medium-term agricultural, logistical, and productive planning more difficult. In this context, this study developed a predictive algorithm in Python to estimate maize production in Meta, using historical microdata from the Rural Agricultural Planning Unit (UPRA) for the 2006–2024 period. The methodology included data collection, cleaning, and organization, as well as the standardization of information by year, municipality, and crop classification. Subsequently, a machine learning model based on Random Forest Regressor was applied, using year, encoded municipality, encoded production technique, planted area, harvested area, and yield as input variables. The model was trained and validated using an 80/20 data split, hyperparameter optimization with GridSearchCV, and performance evaluation through RMSE, MAPE, and R² metrics. The results showed that the proposed algorithm performed better than a traditional three- year moving average method, achieving a 97.91% reduction in RMSE, a MAPE of 7.90%, and an R² coefficient of 0.9943. Likewise, the feature importance analysis identified harvested area and yield as the variables with the greatest influence on production prediction. Finally, a projection was generated for the 2025–2030 period, differentiating between technified and traditional maize. The study concludes that the developed algorithm can serve as a support tool for decision-making in agricultural planning, logistics, input management, storage, and maize supply planning in the department of Meta. | |
| dc.description.degreelevel | Pregrado | spa |
| dc.description.degreename | Ingeniero Industrial | spa |
| dc.description.domain | http://www.ustavillavicencio.edu.co/home/index.php/unidades/extension-y-proyeccion/investigacion | |
| dc.format.mimetype | application/pdf | |
| dc.identifier.citation | Rojas Perea, N. A (2026). Desarrollo de un algoritmo para predecir la producción de maíz en el departamento del Meta a 5 años, utilizando el lenguaje de programación Python. {Trabajo de grado, Universidad Santo Tomas}. Repositorio Institucional | |
| dc.identifier.instname | instname:Universidad Santo Tomás | spa |
| dc.identifier.reponame | reponame:Repositorio Institucional Universidad Santo Tomás | spa |
| dc.identifier.repourl | repourl:https://repository.usta.edu.co | spa |
| dc.identifier.uri | http://hdl.handle.net/11634/73454 | |
| dc.language.iso | spa | |
| dc.publisher | Universidad Santo Tomás | spa |
| dc.publisher.branch | CRAI-USTA Villavicencio | |
| dc.publisher.faculty | Facultad de Ingeniería Industrial | spa |
| dc.publisher.program | Pregrado Ingeniería Industrial | spa |
| dc.relation.references | Ane, T. (2024). A review of machine learning applications and their predictive solutions in agriculture. Asian Journal of Advances in Agricultural Research, 24(7), 80–90. https://doi.org/10.9734/ajaar/2024/v24i7525 | |
| dc.relation.references | Chlingaryan, A., Sukkarieh, S., & Whelan, B. (2018). Machine learning approaches for crop yield prediction and nitrogen status estimation in precision agriculture: A review. Computers and Electronics in Agriculture, 151, 61–69. https://doi.org/10.1016/j.compag.2018.05.012 | |
| dc.relation.references | Desloires, J., Ienco, D., & Botrel, A. (2024). Early season forecasting of corn yield at field level from multi-source satellite time series data. Remote Sensing, 16(9), 1573. https://doi.org/10.3390/rs16091573 | |
| dc.relation.references | Elbasi, E., Zaki, C., Topcu, A. E., Abdelbaki, W., Zreikat, A. I., Cina, E., Shdefat, A., & Saker, L. (2023). Crop prediction model using machine learning algorithms. Applied Sciences, 13(16), 9288. https://doi.org/10.3390/app1316928 | |
| dc.relation.references | García, J., Riaño, N., & Magnitskiy, S. (2014). Simulation of corn (Zea mays L.) production in different agricultural zones of Colombia using the AquaCrop model. Agronomía Colombiana, 32(3), 358–366. https://doi.org/10.15446/agron.colomb.v32n3.45939 | |
| dc.relation.references | Hartanto, W., Mu’alimah, S., & Sukarniati, L. (2024). Economic and social determinants of corn farmers’ consumption patterns: A survey and regression analysis approach. JAMPE (Journal of Asset Management and Public Economy), 3(2), 76–97. https://doi.org/10.12928/jampe.v3i2.10423 | |
| dc.relation.references | Kerdprasop, K., Chuaybamroong, P., & Kerdprasop, N. (2023). Food production forecasting with time series and ensemble modeling methods. En Proceedings of the 2022 5th Artificial Intelligence and Cloud Computing Conference (pp. 59–65). Association for Computing Machinery. https://doi.org/10.1145/3582099.3582109 | |
| dc.relation.references | Martínez-Reina, A. (2013). Caracterización socioeconómica de los sistemas de producción de la región de La Mojana en el Caribe de Colombia. Ciencia y Tecnología Agropecuaria, 14(2), 165–185. https://doi.org/10.21930/rcta.vol14_num2_art:406 | |
| dc.relation.references | Medida, L. H., Khang, A., & Kumar, G. L. N. V. S. (2023). Predictive analytics for high-tech agriculture. En Handbook of research on AI-equipped IoT applications in high-tech agriculture (pp. 336–346). IGI Global. https://www.igi-global.com/gateway/chapter/327844 | |
| dc.relation.references | Ministerio de Agricultura y Desarrollo Rural. (2013). Ficha metodológica: Evaluaciones Agropecuarias Municipales. Agronet. https://agronet.gov.co/sites/default/files/estadistica/Documents/FichaMetodologica-Reporte%201-103.pdf | |
| dc.relation.references | Mncube, T. L., Phiri, E. E., Mothapo, P. N., Rugare, J. T., Pieterse, P. J., & Mloza-Banda, H. R. (2024). Characterising productivity factors affecting maize (Zea mays) production in a smallholder crop-livestock system. Agricultural Research, 13(1), 124–136. https://doi.org/10.1007/s40003-023-00674-7 | |
| dc.relation.references | Musanase, C., Vodacek, A., Hanyurwimfura, D., Uwitonze, A., & Kabandana, I. (2023). Data-driven analysis and machine learning-based crop and fertilizer recommendation system for revolutionizing farming practices. Agriculture, 13(11), 2141. https://doi.org/10.3390/agriculture13112141 | |
| dc.relation.references | Organización de las Naciones Unidas para la Alimentación y la Agricultura (FAO). (2013). Review of crop yield forecasting methods and early warning systems. https://www.fao.org/fileadmin/templates/ess/documents/meetings_and_workshops/GS_SAC_2013/Improving_methods_for_crops_estimates/Crop_Yield_Forecasting_Methods_and_Early_Warning_Systems_Lit_review.pdf | |
| dc.relation.references | Organización de las Naciones Unidas para la Alimentación y la Agricultura (FAO), Fondo Internacional de Desarrollo Agrícola (FIDA), Organización Mundial de la Salud (OMS), Programa Mundial de Alimentos (PMA), & Fondo de las Naciones Unidas para la Infancia (UNICEF). (2019). El estado de la seguridad alimentaria y la nutrición en el mundo 2019: Protegerse frente a la desaceleración y el debilitamiento de la economía. https://openknowledge.fao.org/handle/20.500.14283/ca5162es | |
| dc.relation.references | Organización para la Cooperación y el Desarrollo Económico (OCDE) & Organización de las Naciones Unidas para la Alimentación y la Agricultura (FAO). (2024). OCDE-FAO perspectivas agrícolas 2024–2033. https://openknowledge.fao.org/items/861e9907-b0da-4aa9-94f0-cbb3014eb26d | |
| dc.relation.references | Organización para la Cooperación y el Desarrollo Económico (OCDE) & Organización de las Naciones Unidas para la Alimentación y la Agricultura (FAO). (2024). OCDE-FAO perspectivas agrícolas 2024–2033. https://openknowledge.fao.org/items/861e9907-b0da-4aa9-94f0-cbb3014eb26d | |
| dc.relation.references | Onuwa, G., Mailumo, S. S., & Oyewole, S. O. (2023). Socio-economic determinants of adoption of maize production technologies among smallholders. AGRIEKONOMIKA, 12(1), 83–94. https://doi.org/10.21107/agriekonomika.v12i1.14621 | |
| dc.relation.references | Ordoñez, L., Vallejo, E., Amariles, D., Mesa, J., Esquivel, A., Llanos-Herrera, L., Prager, S. D., Segura, C., Valencia, J. J., Duarte, C. J., Rojas, D. C., Obando, D., & Ramirez-Villegas, J. (2022). Applying agroclimatic seasonal forecasts to improve rainfed maize agronomic management in Colombia. Climate Services, 28, 100333. https://doi.org/10.1016/j.cliser.2022.100333 | |
| dc.relation.references | Selvaraju, R. (2013). Climate risk assessment and management in agriculture. Organización de las Naciones Unidas para la Alimentación y la Agricultura. https://www.fao.org/4/i3084e/i3084e06.pdf | |
| dc.relation.references | Sowmya, P., & Prasad, D. A. V. K. (2024). Optimization of crop yield prediction models using hyperparameter tuning and ensemble learning. Nanotechnology Perceptions, 20(S7), 653–665. https://doi.org/10.62441/nano-ntp.v20iS7.56 | |
| dc.relation.references | Unidad de Planificación Rural Agropecuaria (UPRA). (2023). Microanálisis Evaluaciones Agropecuarias 2023: Meta. https://upra.gov.co/Kit_Territorial/2-%20Informaci%C3%B3n%20por%20Departamentos/META/3-%20Microan%C3%A1lisis%20Evaluaciones%20agropecuarias%202023-Meta.pdf | |
| dc.relation.references | Unidad de Planificación Rural Agropecuaria (UPRA). (2024a). Boletín SIGRA: Maíz. https://upra.gov.co/sites/default/files/2024-10/BolSigra_Maiz.pdf | |
| dc.relation.references | Unidad de Planificación Rural Agropecuaria (UPRA). (2024b). EVA 2024: Evaluaciones Agropecuarias Municipales. https://upra.gov.co/es-co/eva/eva-2024 | |
| dc.relation.references | Unidad de Planificación Rural Agropecuaria (UPRA). (2025). Resultados evaluaciones agropecuarias 2023. https://upra.gov.co/sites/default/files/2025-04/Resultados%20Evaluaciones%20Agropecuarias%202023.pdf | |
| dc.relation.references | van Klompenburg, T., Kassahun, A., & Catal, C. (2020). Crop yield prediction using machine learning: A systematic literature review. Computers and Electronics in Agriculture, 177, 105709. https://doi.org/10.1016/j.compag.2020.105709 | |
| dc.rights | Attribution 2.5 Colombia | en |
| dc.rights.accessrights | info:eu-repo/semantics/openAccess | |
| dc.rights.coar | http://purl.org/coar/access_right/c_abf2 | |
| dc.rights.local | Abierto (Texto Completo) | spa |
| dc.rights.uri | http://creativecommons.org/licenses/by/2.5/co/ | |
| dc.subject.keyword | Random Forest | |
| dc.subject.keyword | Predictive Analytics | |
| dc.subject.keyword | Maize | |
| dc.subject.keyword | Meta | |
| dc.subject.keyword | Machine Learning | |
| dc.subject.keyword | Agricultural Projection | |
| dc.subject.lemb | Algoritmos - Programación | |
| dc.subject.lemb | Lenguaje de programación - Python | |
| dc.subject.lemb | Toma de decisiones - Machine Learning | |
| dc.subject.lemb | Ingeniería Industrial - Investigaciones | |
| dc.subject.lemb | Tesis y Disertaciones académicas | |
| dc.subject.proposal | Random Forest | |
| dc.subject.proposal | Analítica Predictiva | |
| dc.subject.proposal | Maíz | |
| dc.subject.proposal | Meta | |
| dc.subject.proposal | Machine Learning | |
| dc.subject.proposal | Proyección Agrícola | |
| dc.title | Desarrollo de un algoritmo para predecir la producción de maíz en el departamento del Meta a 5 años, utilizando el lenguaje de programación Python. | |
| dc.type | bachelor thesis | |
| dc.type.category | Formación de Recurso Humano para la Ctel: Trabajo de grado de Pregrado | |
| dc.type.coar | http://purl.org/coar/resource_type/c_7a1f | |
| dc.type.coarversion | http://purl.org/coar/version/c_ab4af688f83e57aa | |
| dc.type.drive | info:eu-repo/semantics/bachelorThesis | |
| dc.type.local | Trabajo de grado | spa |
| dc.type.version | info:eu-repo/semantics/acceptedVersion |
Archivos
Bloque original
1 - 3 de 3
Cargando...
- Nombre:
- 2026nicolasrojas.pdf
- Tamaño:
- 941.21 KB
- Formato:
- Adobe Portable Document Format
Cargando...
- Nombre:
- Autorización Facultad
- Tamaño:
- 311.06 KB
- Formato:
- Adobe Portable Document Format
Cargando...
- Nombre:
- Autorización estudiante
- Tamaño:
- 498.25 KB
- Formato:
- Adobe Portable Document Format
Bloque de licencias
1 - 1 de 1
Cargando...
- Nombre:
- license.txt
- Tamaño:
- 807 B
- Formato:
- Item-specific license agreed upon to submission
- Descripción:

