/sklearn_tutorial

Materials for my scikit-learn tutorial

Primary LanguageJupyter NotebookBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Scikit-learn Tutorial

Original tutorial material from Jake VanderPlas

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:

Installation Notes

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:

Notebook Listing

Start JupyterLab using:

jupyter lab 

Then navigate the directory structure. The notebooks are under the directory notebooks. Click on Index.ipynb to get started.