This repository studies the sustainability profiles of EU-27 agriculture using Shannon entropy weighting, min-max composite scoring, Ward hierarchical clustering, and an equal-weighted Overall Agricultural Sustainability Performance score. The original Colab notebook is preserved in the repository, and the same workflow is now replicated as a function-based Python project that runs locally from a single entrypoint.
Stamatis Mantziaris graduated from the Faculty of Agricultural Economics and Rural Development at the Agricultural University of Athens and holds an MBA in Food & Agribusiness from the same university. He is a PhD candidate in Agricultural Economics and Policy at the Agricultural University of Athens. He has participated in EU and national research projects related to policy analysis in agriculture and the bioenergy sector. In the context of his collaboration with the Agricultural Economics Research Institute, he worked as a research assistant for the National Fisheries Data Collection Program 2017-2019. His research interests focus on policy analysis in the primary sector, supply-response modeling of arable farming, economic evaluation of energy crops, and agribusiness investment appraisal.
E-mail: sta.athens@hotmail.com
Occupation: Research Associate
Full CV reference provided by the author: CV_MANTZIARIS_5_2018_EN.pdf
Leonardo Talero-Sarmiento is a Ph.D. in Engineering from the Universidad Autonoma de Bucaramanga, with expertise in mathematical modeling, data analytics, operations research, manufacturing systems, process improvement, and technology adoption. His research addresses decision-making and production-planning challenges in agricultural and industrial contexts, applying operations research, bibliometric analysis, systematic reviews, and machine-learning methods to strengthen value-chain resilience, optimize healthcare delivery, and drive digital transformation. He regularly publishes in peer-reviewed journals including Heliyon, Cogent Engineering, Ecological Informatics, AgriEngineering, Big Data and Cognitive Computing, Digital Policy, Regulation and Governance, Revista Colombiana de Computacion, Suma de Negocios, IngeCUC, Apuntes del Cenes, Estudios Gerenciales, and Contaduria y Administracion.
.
|-- [2025_2]_Farm_Models_EU.ipynb
|-- data.xlsx
|-- Methodology and Results.docx
|-- main.py
|-- requirements.txt
|-- farm_models/
| |-- analysis.py
| |-- clustering.py
| |-- config.py
| |-- entropy.py
| |-- mapping.py
| |-- pipeline.py
| `-- plots.py
`-- docs/
The default command now bootstraps the environment and then runs the full pipeline, including the geographic map output when the Natural Earth geometry can be downloaded:
python main.pyIf you want the script to also force package upgrades:
python main.py --upgrade-depsIf your environment is already prepared and you want to skip the bootstrap step:
python main.py --no-bootstrapThe pipeline writes reproducible outputs into outputs/:
outputs/tables/Entropy_Pipeline_Outputs.xlsxoutputs/tables/Cluster_Assignments.csvoutputs/tables/Clustering_Features_Weighted.csvoutputs/tables/Cluster_Validity_Metrics.csvoutputs/figures/*.jpgoutputs/tables/Entropy_Pipeline_Outputs.xlsxwithOverall_Indexsheetoutputs/reports/Methodology and Results - Updated.docxoutputs/run_summary.json
The docs/ folder contains Markdown files designed to strengthen the current Methodology and Results.docx without deleting or replacing it. They separate the project into theoretical background, methodology, data design, workflow, results interpretation, and revision guidance for the Word document.
- The original Colab notebook is intentionally preserved:
[2025_2]_Farm_Models_EU.ipynb - The refactor avoids object-oriented design and uses plain functions to keep inputs, calculations, and flows explicit.
main.pynow installs or refreshes the packages inrequirements.txtbefore launching the pipeline unless--no-bootstrapis used.- Map generation is included in the default pipeline run and depends on
geopandasplus access to Natural Earth geometries. - The pipeline now also refreshes the Word report by copying
Methodology and Results.docxand replacing only the embedded figure media, which preserves equations, captions, and cross-references. - Use
--skip-reportto skip report generation,--report-outputto choose a different destination, or--overwrite-report-templateif you intentionally want to update the original.docxin place. - Figures 4 and 6 now include the synthetic Overall performance view alongside the three dimension-specific panels.
- The Overall score is complementary, not a replacement for the trade-off or clustering analysis.