This repository was built for the Genhack3 Hackathon, which our team won. The goal was to generate maize yields in different locations to simulate the impact of climate change on cereal production.
Our solution relied on Gaussian Mixture Models (GMMs) that were tuned through several techniques.
Table of Contents
- Ludovic Bossard @bossardl
- Ghali Chraibi @GhaliChraibi17
- Matthieu Delsart @matthieudelsart
- François Lebrun @FrancoisLbrn
- Tim Valencony @tim-vlc
The details of the project objectives and evaluation can be found in the two doc_eval
pdfs.
The original introduction to the project is the following:
Agriculture's exposure to climate impacts is not new, and farmers are the first witnesses and victims of these impacts. Increasingly early, intense and frequent heatwaves, changes in rainfall patterns and late frosts are having an increasingly harsh effect on agricultural production. Given the importance of this sector, there is an urgent need to define resilient solutions for the future climate and develop new tool.
Changes in the climate can be seen in episodes of heavy rainfall, drought, and temperatures which can undermine food security by slowing down growth on a global scale. This drought is specifically affecting many crops, particularly maize. Maize is the world's most important cereal crop, making it an essential resource for millions of people.
The purpose of this challenge is to build a spatial generator of annual maize yield.
This repository contains the files required in the GenHack3 challenge. It contains:
data/
: folder containing the training data (station49.csv
,station80.csv
,station40.csv
,station63.csv
) and a noise file (noise.npy
)requirements.txt
: text file containing the libraries with their associated versions you used in themodel.py
fileDockerfile
: docker image in order to create a containermain.py
: main python file containing the simulation functionmodel.py
: python file containing your generative model and for loading the parametersparameters/
: folder where you must put the parameters of your modelrun.sh
: bash script to run your simulation
The following 2 slides are from the presentation we did at the award ceremony, they explain our investigation process and the final model we implemented.