Scikit-Learn || Python Tutorial || Learn Python Programming
Socratica
Scikit-Learn is a collection of tools that turn raw data into knowledge through machine learning.
In this tutorial we work through two complete classification projects. The classic 1936 Iris flower dataset: we scale the features, split into training and test sets, train a logistic regression model, and evaluate it with a confusion matrix. Then we look inside the model to see which measurements it actually relies on.
Next, handwritten digits: a simplified version of MNIST. We train a support vector machine on 8×8 grayscale images, dig into precision and recall, inspect the digits our model got wrong, and then improve everything with a Pipeline and GridSearchCV, using PCA to cut 64 dimensions down to 40 while keeping 95% of the variance.
Along the way we cover the design principles that make Scikit-Learn so pleasant to use: a consistent estimator interface, public parameters you can inspect, composable pipelines, and sensible defaults that let beginners get real results.
Chapters
00:00 Introduction
01:05 Why not just write if-statements?
01:36 Scikit-Learn's design principles
02:23 Project 1 — The Iris dataset
03:21 Normalizing data with StandardScaler
03:50 Training a logistic...
In this tutorial we work through two complete classification projects. The classic 1936 Iris flower dataset: we scale the features, split into training and test sets, train a logistic regression model, and evaluate it with a confusion matrix. Then we look inside the model to see which measurements it actually relies on.
Next, handwritten digits: a simplified version of MNIST. We train a support vector machine on 8×8 grayscale images, dig into precision and recall, inspect the digits our model got wrong, and then improve everything with a Pipeline and GridSearchCV, using PCA to cut 64 dimensions down to 40 while keeping 95% of the variance.
Along the way we cover the design principles that make Scikit-Learn so pleasant to use: a consistent estimator interface, public parameters you can inspect, composable pipelines, and sensible defaults that let beginners get real results.
Chapters
00:00 Introduction
01:05 Why not just write if-statements?
01:36 Scikit-Learn's design principles
02:23 Project 1 — The Iris dataset
03:21 Normalizing data with StandardScaler
03:50 Training a logistic...
0 Comments
No comments yet. Be the first to weigh in.