This repository defines the coding environment for the MSc practicals. We use Binder to create and manage easy-to-setup and reproducible environments in which students can learn through coding.
Binder allows you to create custom computing environments that can be shared and used by many remote users.
To run the environment, click the "launch binder" button.
Both Python and R are available in the environment. The R and Python versions are specified in
the runtime.txt file
python-3.10
r-2022-10-31
- Add libraries in the
apt.txtfile. - Add R dependencies in
install.R. - Add Python dependencies in
requirements.txtusing version pinning for environment stability.
For detailed information on how to setup the environment using Binder please refer to the official documentation.
Libraries are installed in the apt.txt file:
libgdal-dev
libproj-dev
...
R dependencies are installed in the R script install.R:
install.packages("ggplot2")
install.packages("dplyr")
...Python packages are added to the environment by listing them in the requirements.txt file. Specific package versions can be specified through string specifiers.
scikit-learn
pandas==1.5.3
matplotlib>=3.5.0
https://github.com/MScEcologyAndDataScienceUCL/BIOS0032_AI4Environment