You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,4 +47,44 @@ cd bayesian-optimization
47
47
```
48
48
49
49
## Install required libraries in a virtual environment
50
+
You need to install the dependencies before running the notebooks.
50
51
52
+
### Using conda
53
+
54
+
If you don't have conda installed already and want to use conda for environment management, you can install the miniconda as [described here](https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html).
55
+
56
+
- Create a conda env with `conda create -n bo-tutorial python=3.10`
57
+
- Activate the environment with `conda activate bo-tutorial`
58
+
- Install the required packages via `pip install -r requirements.txt`.
59
+
60
+
### Using venv only
61
+
62
+
If you do not have conda installed:
63
+
64
+
Alternatively, you can create the virtual env with `venv` in the standard library
65
+
66
+
```bash
67
+
python -m venv nn-tutorial
68
+
```
69
+
70
+
and activate the env with `source <venv>/bin/activate` (bash) or `C:> <venv>/Scripts/activate.bat` (Windows)
71
+
72
+
Then, install the packages with pip within the activated environment
73
+
74
+
```bash
75
+
python -m pip install -r requirements.txt
76
+
```
77
+
78
+
Afterwards, you should be able to run the provided notebooks.
79
+
80
+
## Running the tutorial
81
+
82
+
After installing the package
83
+
84
+
You can start the jupyterlab in the terminal, and it will start a browser automatically
85
+
86
+
```bash
87
+
jupyter lab
88
+
```
89
+
90
+
Alternatively, you can use supported Editor to run the jupyter notebooks, e.g. with VS Code.
0 commit comments