pskelsey / futureCrop

A free, standalone desktop app that provides a simple front-end to fit complex machine learning algorithms to data, and perform climate change risk assessments in real crop locations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leafSun

futureCrop

Developed by Peter Skelsey, James Hutton Institute, Dundee

Basic overview

A desktop app for performing climate change risk assessments in real crop locations across Scotland:

  • Train, tune, and test predictive regression- or classification-tree ensembles on your own data in a few easy button clicks.
  • Select the required crop species to implement the fitted model across real crop locations.
  • Explore possible future changes using a range of high resolution, fully coherent data for 12 future climates.
  • Visualise your selections and results using maps, boxplots and bar charts.
  • Save your model fitting and projection results to create your own statistics and graphics.

Example

The example regression dataset contains a response variable and values for 6 different weather variables. Regression tree ensembles are trained, tuned and tested using a nested cross validation procedure with Bayesian optimization for tuning of hyperparameters. Parallel computing is selected to speed up execution on multi-core devices. The final model is an ensemble of 129 regression trees fitted using the Least-Squares Boosting Algorithm.

regModelTab

The model is applied across real barley locations using climate change projection data for summer in each decade spanning 2020-2060. The ensemble of results for each decade reveal that the predicted response variable is expected to increase by 67% in 2060 relative to baseline conditions.

regProjectionsTab

Motivation

This app was developed as a tool to help non-modellers access cutting-edge machine learning algorithms and perform state-of-the-art climate change risk assessments. It provides easy acces to real crop / land-use data from IACS and JACS, and UKCP18 fully coherent climate change data for 12 future climates (emissions scenario RCP8.5) and a range of time-periods and seasons.

Installation and loading

The GUI is a fixed size and not 'responsive,' i.e., it will not scale to fit the screen of your device. However, the GUI is small enough to run on notebooks and laptops. To download the files, click on the green 'Code' button near the top of the screen and then on 'Download ZIP'. Extract the files and double click 'futureCrop.exe'. This will open a web-based installer that will download 'MATLAB Runtime' to your computer (if required). MATLAB Runtime is a free software provided by MathWorks that enables users who do not have a MATLAB license to run compiled MATLAB applications (e.g., this app) on their computers. Once it is installed you will have access to thousands of MATLAB apps at no cost. If you already have the correct version of MATLAB Runtime then this step will be skipped. After installation the app will load using the shortcuts provided. When the app is loading a splash screen will appear then disappear and there will be a short interval (~5 seconds) before the app loads - there is no need to try and load it again. If you do not want to download the example data files and documentation that come bundled with the app, you can alternatively click on 'futureCrop.exe' then download and install as described.

Documentation

A full guide on how to use the app to perform climate change risk assessments is provided in the Documentation.md

License

The MIT License (MIT) 2021 - Peter Skelsey. For more details, please have a look at the LICENSE for more details.

About

A free, standalone desktop app that provides a simple front-end to fit complex machine learning algorithms to data, and perform climate change risk assessments in real crop locations.

License:MIT License