Machine learning with scikit-learn
by Nayat Sánchez-Pi and Luis Martí
A repository of Jupyter notebooks with the slides and code examples for our machine learning course using scikit-learn.
Open the notebooks in MyBinder (recommended) or in Google Colab.
-
Requirements:
- Python >=3.8 and <12 and
- Poetry dependency manager.
-
Install required libraries (they will go in a
.venv
virtual environment in the current folder).poetry install
-
Activate virtual environment:
poetry shell
-
Run notebooks:
jupyter notebook
-
Check that all notebooks are working (will take a while):
pytest -n=auto --nbmake --nbmake-timeout=600 **/*ipynb
We have made our best to acknowledge the corresponding author whenever using third-party materials. If you find any misattributions do not hesitate to contact us.