This is the repository for the projects of the course "Advanced Machine Learning" (252-0535-00L), offered in Autumn 2020 at ETH Zurich.
The group name is "Advanced Machines". The group members are:
- András Geiszl (ageiszl@student.ethz.ch)
- Daniël Trujillo (dtrujillo@student.ethz.ch)
- Harish Rajagopal (hrajagopal@student.ethz.ch)
-
Install Poetry
-
For VSCode install
- Python Extension Pack (
donjayamanne.python-extension-pack
) - Pylance language server (
ms-python.vscode-pylance
)
- Python Extension Pack (
-
For any other editors install
- Their own set of Python languge services
- Pyright
-
Clone project and change into the project directory
-
If you're using VSCode, copy
.vscode/settings.json.default
to.vscode/settings.json
. -
Create a Python virtual environment (e.g.
conda create -n aml python=3.8.5
orvirtualenv env
) -
In VSCode, Press
Ctrl + Shift + P
and selectPython: Select Interpreter
to set your virtual environment as the default for this workspace (you might need to restart VSCode to see the desired option or specify the path manually). -
Activate the environment (e.g.
conda activate aml
orsource ./env/bin/activate
) -
Install required dependencies with
poetry install
-
Install pre-commit hooks from the root directory of this repository:
pre-commit install
NOTE: You need to be inside the virtual environment every time you commit.