Go to file
Danilo Enoque Ferreira de Lima 373cdf879d Added example solution.
2024-05-17 10:58:35 +02:00
.gitignore Initial commit 2024-04-30 20:11:48 +02:00
0 Basic statistics (sol.).ipynb Clean up. 2024-05-10 17:04:54 +02:00
0 Basic statistics.ipynb Clean up. 2024-05-10 17:04:54 +02:00
0 CLT.ipynb Clean up. 2024-05-10 17:04:54 +02:00
1 Line fits.ipynb Clean up. 2024-05-10 17:04:54 +02:00
2 Bayesian fits.ipynb Clean up. 2024-05-10 17:04:54 +02:00
2.1 Representation Learning.ipynb Added example solution. 2024-05-17 10:58:35 +02:00
3 Non-linear fits.ipynb Clean up. 2024-05-10 17:04:54 +02:00
3.1 Supervised Regression.ipynb Clean up. 2024-05-10 17:04:54 +02:00
3.2 Regression Uncetainties.ipynb Clean up. 2024-05-10 17:04:54 +02:00
4 Support Vector Machines.ipynb Clean up. 2024-05-10 17:04:54 +02:00
5 Gaussian Processes.ipynb Clean up. 2024-05-10 17:04:54 +02:00
6 Bayesian Optimization.ipynb Clean up. 2024-05-10 17:04:54 +02:00
7 Mixture Models.ipynb Clean up. 2024-05-10 17:04:54 +02:00
co2_weekly_mlo.txt First draft. 2024-04-30 20:17:31 +02:00
linear_classifier.png First draft. 2024-04-30 20:17:31 +02:00
README.md Added some instructions to setup the environment for reference. 2024-05-10 17:12:11 +02:00
SVM_margin.png First draft. 2024-04-30 20:17:31 +02:00

ML problems for the EIROForum summer school of May 2024

Each Jupyter notebook contains a problem to be solved with ML. The data is described and can be obtained in each notebook. Some of it is downloaded from somewhere, while others are simply randomly generated on-the-fly.

The following instructions show how to setup your environment, so that you can easily play with the data.

All the data used in the examples are produced on-the-fly for demonstration purposes, or are taken from public and open resources.

Anaconda setup

Using Anaconda or Miniconda, create an environment as follows.

# create the environment
conda create -n ml

# load it
conda activate ml

# install some packages to get started
conda install jupyterlab
mamba install pytorch torchvision torchaudio cpuonly -c pytorch
mamba install -c conda-forge numpy scipy scikit-learn pandas matplotlib seaborn gpytorch botorch
pip install torchbnn

# play with the notebooks ...
jupyter lab

# when you are done:
conda deactivate

Virtualenv setup

Using a virtual environment, the setup would be the following (for an environment called env, but use the name you prefer):

# create the environment
python -m venv env

# load it
source env/bin/activate

# install some packages to get started
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install numpy scipy scikit-learn pandas matplotlib seaborn gpytorch botorch torchbnn jupyterlab

# play with the notebooks ...
jupyter lab

# when you are done:
deactivate