README.md 1.05 KB
Newer Older
Matthieu Boileau's avatar
Matthieu Boileau committed
1
2
3
# A set of Jupyter notebooks as part of the [Master Class in Probability 2020](http://irma.math.unistra.fr/stochastique/mc2020/)

**Authors:** Matthieu Boileau, Sébastien Martineau, Marielle Simon, Dario Trevisan, Xiaolin Zeng
4
5
6

## Installation

7
### Using Conda
8

9
#### Install Anaconda
10

11
Follow instructions for installing [Anaconda](https://www.anaconda.com/distribution/#download-section) for python 3.
12

13
#### Install dependencies
14

15
From project root directory, run:
16
17

```bash
18
conda env create -f environment.yml
19
20
```

21
> **Note:** the `Solving environment` step may be long, be patient...
22
23
24

## Usage

25
### Activate environment
Matthieu Boileau's avatar
Matthieu Boileau committed
26

27
Before first execution, run:
Matthieu Boileau's avatar
Matthieu Boileau committed
28
29

```bash
30
conda activate mc2020
Matthieu Boileau's avatar
Matthieu Boileau committed
31
32
33
34
35
36
37
38
39
40
41
```

### Run within Jupyter notebooks

From project root directory, run:

```bash
jupyter-notebook
```

### Launch python scripts from command line
42

43
44
From project root directory, run:

45
46
47
```bash
python srw.py
```
48

Matthieu Boileau's avatar
Matthieu Boileau committed
49
50
51
## Test with Binder

[![Binder](https://static.mybinder.org/badge_logo.svg)](https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.math.unistra.fr%2Fproba-mc2020%2Fproba-mc2020/master)