Data Tools · Module 4
The scikit-learn API
Take each lesson, answer its quiz, then do its practice. After the last lesson come the module quiz, the project and the interview questions.
Lessons
- 4.1Meet scikit-learnSay what scikit-learn is for, and fit and score a first model against a baseline.
- 4.2Estimators: fit, predict, transformUse any scikit-learn estimator with the same verbs, and tell what you set before `fit` from what it learned during it.
- 4.3Pipelines, and Where scikit-learn Goes NextChain a transformer and a model into one object, score it with one line of cross-validation, and know which ML video takes each topic further.
Module material
Take these after the last lesson, in this order. Next on each page leads through them.
- Module quiz11 questions across the whole module. Take it after the last lesson; your first pick on each question is the one that counts.
- PracticeStated as a problem, with no template and no step-by-step instructions. Working out the steps is the point.
- NotebooksOpen them in Google Colab. Each answer is checked as you go: correct, wrong with the expected value, or not answered yet.
- Common mistakesWhat you see when it goes wrong, why it happens, and the fix, across the whole module.
- Cheat sheetOne page of the module’s terms, rules and gotchas, with the output each rule produces.
- Interview questions9 questions interviewers ask on the scikit-learn api, from first principles to the follow-ups. The first 3 model answers are free to read; Pro opens the rest.