... scikit learn.

Scikit-Learn is possibly the most popular machine learning framework in the world. In this series of videos we'd like to give an overview of the main features and how you can use the framework to approach most machine learning problems. Do watch all the videos because we also want to highlight the dangers of it.

Episode Notes

We're only running a very basic variant of gridsearch with this code;

from sklearn.datasets import load_boston
from sklearn.neighbors import KNeighborsRegressor
from sklearn.preprocessing import StandardScaler
from sklearn.pipeline import Pipeline
from sklearn.model_selection import GridSearchCV
import pandas as pd

mod = GridSearchCV(estimator=pipe,
                     'model__n_neighbors': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
mod.fit(X, y);

Note that we can inspect the results of the grid via this command;


If you're interested in more depth, feel free to check our this series of videos on metrics. Only start watching that after watching this full series though. The most important point of this series is made in the next videos.

Feedback? See an issue? Feel free to mention it here.

If you want to be kept up to date, consider getting the newsletter.