Aplicación de modelos de machine learning para predicciones de exportaciones para el mercado floricultor colombiano
| dc.contributor.advisor | Becerra Angarita, Oscar Fernando | |
| dc.contributor.advisor | Valencía Niño, Cesar Hernando | |
| dc.contributor.author | Puentes Abril, Felipe | |
| dc.contributor.corporatename | Universidad Santo Tomás | |
| dc.date.accessioned | 2026-09-01T20:56:08Z | |
| dc.date.available | 2026-09-01T20:56:08Z | |
| dc.date.issued | 2026-09-01 | |
| dc.description | Este proyecto de investigación aplicada implementó, evaluó y comparó dos modelos de machine learning Random Forest y XGBoost– para predecir el volumen mensual de las exportaciones florícolas colombianas hacia sus tres principales mercados de destino: Estados Unidos, Reino Unido y Canadá. El estudio integró variables macroeconómicas de Colombia y de cada país importador (producto interno bruto, inflación y tasa de cambio), junto con variables de estacionalidad y de rezago temporal, sobre un panel país destino/mes de 396 observaciones correspondientes al periodo 2015–2025. El desarrollo se realizó en Python sobre Google Colab, siguiendo una metodología que incluyó validación cruzada para la optimización de hiperparámetros, partición cronológica de los datos y validación estadística formal mediante la prueba de Wilcoxon signed-rank. Los resultados muestran que XGBoost obtuvo un desempeño puntual ligeramente superior a Random Forest en tres de las cuatro métricas evaluadas (MAE, RMSE y R²), aunque la prueba de Wilcoxon signed-rank, aplicada sobre un conjunto de prueba de 72 observaciones, confirmó que esta diferencia no es estadísticamente significativa. El análisis de importancia de variables, complementado con valores SHAP, evidenció de forma estadísticamente significativa (ρ = 0,663; p = 0,0135) que ambos modelos coinciden en que el tamaño económico del mercado importador y la estacionalidad de la demanda son los factores con mayor peso explicativo, mientras que las condiciones macroeconómicas propias de Colombia pesan comparativamente menos. El proyecto demuestra la viabilidad técnica de aplicar algoritmos de aprendizaje de conjunto a un problema de comercio exterior agrícola, y deja como principal aporte una metodología completa y reproducible que puede ser reutilizada por PROCOLOMBIA, el Ministerio de Comercio, Industria y Turismo, o por investigaciones posteriores dentro del sector floricultor colombiano. | |
| dc.description.abstract | This applied research project implemented, evaluated, and compared two machine learning models –Random Forest and XGBoost– to predict the monthly volume of Colombian flower exports to its three main destination markets: the United States, the United Kingdom, and Canada. The study integrated macroeconomic variables from Colombia and each importing country (gross domestic product, inflation, and exchange rate), together with seasonality and time-lag variables, over a destination-country/month panel of 396 observations covering the 2015–2025 period. The development was carried out in Python on Google Colab, following a methodology that included cross-validation for hyperparameter optimization, chronological data partitioning, and formal statistical validation through the Wilcoxon signed-rank test. Results show that XGBoost achieved a slightly better point performance than Random Forest on three of the four evaluated metrics (MAE, RMSE, and R²), although the Wilcoxon signed-rank test, applied to a 72 observation test set, confirmed that this difference is not statistically significant. Variableimportance analysis, complemented with SHAP values, showed a statistically significant agreement (ρ = 0.663; p = 0.0135) that both models rank the importing market’s economic size and demand seasonality as the most explanatory factors, while Colombia’s own macroeconomic conditions carry comparatively less weight. The project demonstrates the technical feasibility of applying ensemble learning algorithms to an agricultural foreigntrade problem, and its main contribution is a complete, reproducible methodology that can be reused by PROCOLOMBIA, Colombia’s Ministry of Commerce, Industry and Tourism, or by future research within the Colombian flower-growing sector. | |
| dc.description.degreelevel | Maestría | spa |
| dc.description.degreename | Magíster en Análisis de Datos y Sistemas Inteligentes | spa |
| dc.description.domain | https://www.ustabuca.edu.co/ | |
| dc.format.mimetype | application/pdf | |
| dc.identifier.citation | Puentes Abril, F. (2026). Aplicación de modelos de machine learning para predicciones de exportaciones para el mercado floricultor colombiano [Tesis de posgrado]. Universidad Santo Tomás, Bucaramanga, Colombia | |
| 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/74041 | |
| dc.language.iso | spa | spa |
| dc.publisher | Universidad Santo Tomás | spa |
| dc.publisher.branch | CRAI-USTA Bucaramanga | |
| dc.publisher.faculty | Facultad de Ingeniería Mecatrónica | spa |
| dc.publisher.program | Maestría Análisis de Datos y Sistemas Inteligentes | spa |
| dc.relation.references | Asociación Nacional de Comercio Exterior. (2025). En febrero de 2025 las exportaciones colombianas caen -0,8%. https://analdex.org/2025/04/02/en-febrero-de-2025-las exportaciones-colombianas-caen-08/ | |
| dc.relation.references | Asociación Nacional de Comercio Exterior. (2025b). Informe anual de exportaciones colombianas 2024. Asociación Nacional de Comercio Exterior. | |
| dc.relation.references | Banco de la República. (s.f.). Estadísticas económicas: producto interno bruto, inflación y Tasa de Cambio Representativa del Mercado (TRM) [Conjunto de datos]. Portal de Estadísticas Económicas. Recuperado el 18 de julio de 2026, de https://www.banrep.gov.co | |
| dc.relation.references | Banco Mundial. (s.f.). World Bank Open Data. Recuperado el 18 de julio de 2026, de https://data.worldbank.org | |
| dc.relation.references | Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5-32. https://doi.org/10.1023/A:1010933404324 | |
| dc.relation.references | Chapman, P., Clinton, J., Kerber, R., Khabaza, T., Reinartz, T., Shearer, C., & Wirth, R. (2000). CRISP-DM 1.0: Step-by-step data mining guide. SPSS Inc. | |
| dc.relation.references | Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. En Proceedings PREDICCIÓN EXPORTACIONES FLORÍCOLAS CON ML 55 of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785-794). ACM. https://doi.org/10.1145/2939672.2939785 | |
| dc.relation.references | Chicco, D., Warrens, M. J., & Jurman, G. (2021). The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation. PeerJ Computer Science, 7, e623. https://doi.org/10.7717/peerj cs.623 | |
| dc.relation.references | Departamento Administrativo Nacional de Estadística [DANE]. (s.f.). Comercio internacional: Exportaciones. Recuperado el 18 de julio de 2026, de https://www.dane.gov.co/index.php/estadisticas-por-tema/comercio internacional/exportaciones | |
| dc.relation.references | Fondo Monetario Internacional. (2025). World Economic Outlook Database, October 2025 [Conjunto de datos]. IMF DataMapper. Recuperado el 18 de julio de 2026, de https://www.imf.org/external/datamapper/api/v1/NGDPD | |
| dc.relation.references | Gulzar, Y., Oral, C., Kayakus, M., Erdogan, D., Unal, Z., Eksili, N., & Caylak, P. C. (2024). Predicting high technology exports of countries for sustainable economic growth by using machine learning techniques: The case of Turkey. Sustainability, 16(13). https://doi.org/10.3390/su16135601 | |
| dc.relation.references | Hastie, T., Tibshirani, R., & Friedman, J. (2009). The elements of statistical learning: Data mining, inference, and prediction (2a ed.). Springer. | |
| dc.relation.references | Hernández-Sampieri, R., & Mendoza Torres, C. P. (2018). Metodología de la investigación: Las rutas cuantitativa, cualitativa y mixta. McGraw-Hill Education. | |
| dc.relation.references | Hyndman, R. J., & Koehler, A. B. (2006). Another look at measures of forecast accuracy. International Journal of Forecasting, https://doi.org/10.1016/j.ijforecast.2006.03.001 22(4), 679-688. | |
| dc.relation.references | Jiang, L., Zhang, C., Poursafaei, F., & Huang, S. (2023). Towards temporal edge regression: A case study on agriculture trade between nations. arXiv. https://arxiv.org/abs/2308.07883 | |
| dc.relation.references | Karim, M. F., Rahutomo, R., Manuaba, I. B. K., Purwandari, K., Mursitama, T. N., & Pardamean, B. (2023). Free trade as domestic, economic, and strategic issues: A big data analytics approach. Journal of Big Data, 10(1). https://doi.org/10.1186/s40537 023-00722-7 | |
| dc.relation.references | Krugman, P., Obstfeld, M., & Melitz, M. (2018). International economics: Theory and policy (11.ª ed.). Pearson Education. | |
| dc.relation.references | Legis. (s.f.). LegisComex [Base de datos de comercio exterior]. Recuperado a través del CRAI, Universidad Santo Tomás. | |
| dc.relation.references | Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems, 30, 4765-4774. | |
| dc.relation.references | Makridakis, S., Spiliotis, E., & Assimakopoulos, V. (2018). The M4 competition: Results, findings, conclusion and way forward. International Journal of Forecasting, 34(4), 802-808. https://doi.org/10.1016/j.ijforecast.2018.06.001 | |
| dc.relation.references | Minakawa, N., Izumi, K., & Sakaji, H. (2024). Bilateral trade flow prediction by gravity informed graph autoencoder. arXiv. https://arxiv.org/abs/2408.01938 | |
| dc.relation.references | Mitchell, M. (2009). Complexity: A guided tour. Oxford University Press. | |
| dc.relation.references | Mitchell, T. (1997). Machine learning. McGraw-Hill. | |
| dc.relation.references | Monken, A., Haberkorn, F., Gopinath, M., Freeman, L., & Batarseh, F. A. (2021). Graph neural networks for modeling causality in international trade. Proceedings of the International Florida Artificial Intelligence Research Society Conference (FLAIRS), 34. https://doi.org/10.32473/flairs.v34i1.128485 | |
| dc.relation.references | Organización para la Cooperación y Desarrollo Económico – OCDE Publishing. (2024). Estudios Económicos de la OCDE: Colombia 2024. OECD Publishing. | |
| dc.relation.references | Pan, Z., Gordeev, S., Zhao, J., Meng, Z., Ding, C., Steinbach, S., & Song, D. (2024). International trade flow prediction with bilateral trade provisions. arXiv. https://arxiv.org/abs/2407.13698 | |
| dc.relation.references | Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., & Duchesnay, E. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825-2830. | |
| dc.relation.references | PROCOLOMBIA. (2025, January 21). Millones de flores de Colombia cruzarán fronteras para celebrar la próxima temporada de San Valentín alrededor del mundo. https://procolombia.co/sala-de-prensa/noticias/ | |
| dc.relation.references | Provost, F., & Fawcett, T. (2013). Data science for business: What you need to know about data mining and data-analytic thinking. O’Reilly Media. | |
| dc.relation.references | Sellami, B., Ounoughi, C., Kalvet, T., Tiits, M., & Rincon-Yanez, D. (2024). Harnessing graph neural networks to predict international trade flows. Big Data and Cognitive Computing, 8(6), 65. https://doi.org/10.3390/bdcc8060065 | |
| dc.relation.references | Strobl, C., Boulesteix, A.-L., Zeileis, A., & Hothorn, T. (2007). Bias in random forest variable importance measures: Illustrations, sources and a solution. BMC Bioinformatics, 8, 25. https://doi.org/10.1186/1471-2105-8-25 | |
| dc.relation.references | United Nations Publishing. (2024). Trade and development report 2024. United Nations. | |
| dc.relation.references | Wilcoxon, F. (1945). Individual comparisons by ranking methods. Biometrics Bulletin, 1(6), 80-83. https://doi.org/10.2307/3001968 | |
| dc.relation.references | Yang, C.-H., Lee, C.-F., & Chang, P.-Y. (2023). Export- and import-based economic models for predicting global trade using deep learning. Expert Systems with Applications, 218. https://doi.org/10.1016/j.eswa.2023.119590 | |
| dc.rights.accessrights | info:eu-repo/semantics/openAccess | spa |
| dc.rights.coar | http://purl.org/coar/access_right/c_abf2 | |
| dc.rights.local | Abierto (Texto Completo) | spa |
| dc.subject.keyword | machine learning, Random Forest, XGBoost, flower exports, time series, macroeconomic variables, forecasting | |
| dc.subject.lemb | Comercio exterior - Colombia | |
| dc.subject.lemb | Flores - Producción | |
| dc.subject.proposal | machine learning, Random Forest, XGBoost, exportaciones florícolas, series de tiempo, variables macroeconómicas, predicción. | |
| dc.title | Aplicación de modelos de machine learning para predicciones de exportaciones para el mercado floricultor colombiano | |
| dc.type | master thesis | |
| dc.type.category | Formación de Recurso Humano para la Ctel: Trabajo de grado de Maestría | |
| dc.type.coar | http://purl.org/coar/resource_type/c_bdcc | spa |
| dc.type.coarversion | http://purl.org/coar/version/c_ab4af688f83e57aa | spa |
| dc.type.drive | info:eu-repo/semantics/masterThesis | spa |
| dc.type.local | Tesis de maestría | spa |
| dc.type.version | info:eu-repo/semantics/acceptedVersion | spa |
Archivos
Bloque original
1 - 3 de 3
Cargando...
- Nombre:
- 2026PuentesFelipe.pdf
- Tamaño:
- 818.89 KB
- Formato:
- Adobe Portable Document Format
- Descripción:
- Trabajo de grado
Cargando...
- Nombre:
- 2026PuentesFelipe1.pdf
- Tamaño:
- 89.4 KB
- Formato:
- Adobe Portable Document Format
- Descripción:
- Carta Facultad
Cargando...
- Nombre:
- 2026PuentesFelipe2.pdf
- Tamaño:
- 211.3 KB
- Formato:
- Adobe Portable Document Format
- Descripción:
- Acuerdo de publicación
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:

