Skip to content

Course

ML Foundations in Python

A practical engineer's path through numerical Python, scikit-learn workflows, disciplined evaluation, feature engineering, and shipping models that survive production.

9 lessons

Course Q&A

Reviews

Enrolled members can rate this course.

No reviews yet.

Numerical Thinking and Data Handling

Build the numpy mental model, control memory and dtypes, and load data without corrupting the experiment.

  1. 01Numpy Arrays Are Not Fancy Python ListsUnderstand dtype, shape, broadcasting, views, and copies so numerical code stays fast, correct, and predictable.24mOpen
  2. 02Vectorization, Memory Pressure, and Numerical SafetyWrite fast numerical code without creating hidden temporaries, overflowing integers, or turning rounding error into model nonsense.26mOpen
  3. 03Loading Data Without Poisoning the ExperimentTurn raw files and database extracts into stable feature matrices while preserving row identity, time order, and missingness semantics.25mOpen

Modeling Workflows and Feature Engineering

Use scikit-learn pipelines, transform features deliberately, and avoid leakage while iterating quickly.

  1. 01The scikit-learn Fit/Predict ContractLearn estimators, transformers, predictors, and why the consistent scikit-learn API is a discipline tool rather than mere convenience.22mOpen
  2. 02Preprocessing Pipelines That Do Not LeakCompose imputers, encoders, scalers, and models into one fitted object so validation and deployment apply exactly the same transformations.28mOpen
  3. 03Feature Engineering: Signals, Shortcuts, and LeakageDesign features that encode real causal or operational signal while recognizing target leakage, frozen context, and unavailable-at-inference traps.27mOpen

Evaluation and Shipping Discipline

Choose honest metrics, validate model selection, and operate models as production software rather than notebook artifacts.

  1. 01Metrics That Match the DecisionChoose classification and regression metrics based on cost, ranking, calibration, and action thresholds rather than default leaderboard habits.25mOpen
  2. 02Validation, Cross-Validation, and Time SplitsDesign evaluation protocols that respect grouping, time order, model selection bias, and the difference between tuning and final measurement.29mOpen
  3. 03Shipping Models as Production SoftwarePackage artifacts, validate schemas, monitor drift and outcomes, roll back safely, and operate machine learning without research-lab mythology.30mOpen