Original tutorial material from Jake VanderPlas
- email: jakevdp@uw.edu
- twitter: @jakevdp
- github: jakevdp
This repository contains notebooks and other files associated with the Scikit-learn tutorial. The notebooks have been updated by NeSI (http://github.com/nesi/sklearn_tutorial.git) to run with recent versions of Python and dependencies.
Recordings of the original workshop are available on Youtube:
- https://www.youtube.com/watch?v=L7R4HUQ-eQ0 (3 hours version)
- https://www.youtube.com/watch?v=HC0J_SPm9co (1.5 hours version)
To run the notebooks on your laptop, you will need to clone the repository:
git clone https://github.com/nesi/sklearn_tutorial.git
Note also that some of the code in these notebooks will not work outside the directory structure of this tutorial, so it is important to clone the full repository if possible.
Then, we recommend that you download and install Miniconda. Once Miniconda is installed, navigate to your local copy of the repository and use the following command to create a Conda environment with all required packages:
conda env create -f environment.lock.yml
Then activate your environment:
conda activate skl_tut
The tutorial material has been tested with the following package versions:
- Python version 3.10.5
numpy
version 1.22.4: https://www.numpy.orgscipy
version 1.8.1: https://www.scipy.orgmatplotlib
version 3.5.2: https://matplotlib.orgscikit-learn
version 1.1.1: https://scikit-learn.orgjupyterlab
version 4.1.2: https://jupyterlab.readthedocs.ioipywidgets
version 8.1.2: https://ipywidgets.readthedocs.iopandas
version 1.4.2: https://pandas.pydata.org/
Start JupyterLab
using:
jupyter lab
Then navigate the directory structure.
The notebooks are under the directory notebooks
.
Click on Index.ipynb
to get started.