gitwtfhub

wtf is scikit-learn-videos?

justmarkham/scikit-learn-videos — explained in plain English

Analysis updated 2026-06-26

3,789Jupyter NotebookAudience · generalComplexity · 2/5Setup · easy

TL;DR

Ten beginner-friendly video tutorials (4.5 hours) with matching Jupyter notebooks teaching machine learning using Python's scikit-learn library, covering classification, regression, cross-validation, grid search, and Pipelines.

Mindmap

mindmap
  root((repo))
    Setup
      Install scikit-learn
      Jupyter Notebook setup
    Classification
      Train a model
      Test data evaluation
    Model Tuning
      Cross-validation
      Grid search
    Regression Pipeline
      pandas data loading
      seaborn plotting
      Linear regression
    Pipelines
      Preprocessing steps
      Encode text features
    Bonus Content
      PyCon 2016 tutorial
      Text classification

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Learn machine learning from scratch with hands-on Python notebooks and matching video walkthroughs.

REASON 2

Build and evaluate a classification or regression model using scikit-learn's core tools.

REASON 3

Understand how to structure a full ML project using Pipelines to keep steps clean and reusable.

REASON 4

Extend your skills into text-based machine learning by converting words into numbers a model can learn from.

What's in the stack?

Pythonscikit-learnJupyter NotebookpandasseabornNumPy

How it stacks up

justmarkham/scikit-learn-videosxitu/tensorflow-docsmlnlp-world/deeplearning-muli-notes
Stars3,7893,7943,777
LanguageJupyter NotebookJupyter NotebookJupyter Notebook
Setup difficultyeasymoderatemoderate
Complexity2/51/53/5
Audiencegeneraldataresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 30min

Requires Python 3.9+ and a recent scikit-learn install. Notebooks are self-contained, install pandas, seaborn, and scikit-learn via pip, then open any notebook in Jupyter.

No license is mentioned in the explanation.

Wtf does this do

This repository is a collection of 10 video tutorials and matching Jupyter notebooks teaching machine learning with scikit-learn, a popular Python library for building predictive models from data. The series totals about 4.5 hours and is freely available on YouTube. A companion course on Data School offers the same material with quizzes and a completion certificate. The videos progress from foundational concepts to practical techniques. Early lessons explain what machine learning is and how to set up scikit-learn and Jupyter Notebook. Later lessons cover specific approaches: training a classification model, evaluating it against held-out test data, using cross-validation to compare models, and tuning model settings with grid search. One lesson walks through a full data pipeline using the pandas library for reading data, seaborn for plotting, and scikit-learn for building a linear regression model. The final lesson covers how to combine preprocessing steps and a model into a Pipeline, which keeps a project organized and avoids common errors when applying the same steps to new data. Encoding non-numeric features so that a model can use them is also covered in that lesson. Each video comes with a matching Jupyter notebook containing the code demonstrated. The notebooks have been updated to work with Python 3.9 and a recent version of scikit-learn, the originals, which used Python 2.7, are preserved in an archive branch for reference. As a bonus, the repository links to a 3-hour tutorial from PyCon 2016 that extends the series into text-based data, covering how to turn text into numbers a model can work with, build a classifier on it, and evaluate the results.

Yoink these prompts

Prompt 1
Using scikit-learn, walk me through training a classification model on my dataset, evaluating it with a train/test split, and then using cross-validation to compare it to an alternative model.
Prompt 2
Show me how to build a scikit-learn Pipeline that encodes categorical features and then fits a model, so the same steps apply cleanly to new data.
Prompt 3
Using pandas and seaborn, help me explore my CSV dataset and then build a linear regression model with scikit-learn to predict a numeric outcome.
Prompt 4
Explain how to use GridSearchCV in scikit-learn to tune hyperparameters for my model and find the best settings.
Prompt 5
Show me how to turn a column of text into numeric features using scikit-learn and then train a text classifier on it, following the PyCon 2016 pattern.

Frequently asked questions

wtf is scikit-learn-videos?

Ten beginner-friendly video tutorials (4.5 hours) with matching Jupyter notebooks teaching machine learning using Python's scikit-learn library, covering classification, regression, cross-validation, grid search, and Pipelines.

What language is scikit-learn-videos written in?

Mainly Jupyter Notebook. The stack also includes Python, scikit-learn, Jupyter Notebook.

What license does scikit-learn-videos use?

No license is mentioned in the explanation.

How hard is scikit-learn-videos to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is scikit-learn-videos for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.