← all repositories
justmarkham/scikit-learn-videos

Scikit-learn tutorials that outlived Python 2

Jupyter notebooks that keep a popular scikit-learn video course from quietly rotting.

3.8k stars Jupyter Notebook Learning
scikit-learn-videos
Not currently ranked — collecting fresh signals.
star history

What it does

This repository hosts the Jupyter notebooks for a 10-part, 4.5-hour video introduction to scikit-learn. The materials move through the standard supervised-learning workflow—loading the iris dataset, training K-nearest neighbors models, comparing estimators, and finally building preprocessing pipelines with pandas and seaborn. Each notebook is framed as a sequence of concrete questions, so it reads more like a guided conversation than a reference manual.

The interesting bit

The noteworthy detail here is maintenance. The original recordings ran on Python 2.7 and scikit-learn 0.16, but the notebooks have since been rewritten for Python 3.9.1 and scikit-learn 0.23.2. That makes this one of the few video-era tutorials whose companion code has not been left to quietly fossilize. The author even stashed the original versions in an archive branch for historical comparison.

Key highlights

  • 10 topic-driven notebooks covering model training, evaluation, cross-validation, grid search, and Pipelines
  • Tied to a free YouTube playlist and a separate online course that adds quizzes and a completion certificate
  • Bonus PyCon 2016 tutorial on text-based data (vectorization, model comparison) housed in a linked repository
  • Explicit question-and-answer structure: each section poses a practical question and answers it with runnable code
  • Original Python 2.7 and scikit-learn 0.16 notebooks preserved in an archive branch

Verdict

Newcomers who need a structured narrative from first dataset to production-style pipeline will get the most value here. If you already treat the scikit-learn docs as leisure reading, you will likely find the pace too gentle.

Frequently asked

What is justmarkham/scikit-learn-videos?
Jupyter notebooks that keep a popular scikit-learn video course from quietly rotting.
Is scikit-learn-videos open source?
Yes — justmarkham/scikit-learn-videos is an open-source project tracked on heatdrop.
What language is scikit-learn-videos written in?
justmarkham/scikit-learn-videos is primarily written in Jupyter Notebook.
How popular is scikit-learn-videos?
justmarkham/scikit-learn-videos has 3.8k stars on GitHub.
Where can I find scikit-learn-videos?
justmarkham/scikit-learn-videos is on GitHub at https://github.com/justmarkham/scikit-learn-videos.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.