
Explain the hacker approach to ML: prototype fast, measure, iterate. Apply the course ethics rules: authorised data and systems only, no credential theft. Build and run a first working classifier on a public dataset.
Video: "How to Learn to Code - 8 Hard Truths" by Fireship.
Write Python using lists, dicts, loops, functions, and comprehensions for data work. Manipulate arrays with NumPy and tables with pandas: select, filter, group, and summarise. Organise a notebook so an experiment can be rerun and its result reproduced. Create histograms, scatter plots, and box plots that reveal a dataset's shape before modelling.
Video: "Learn Pandas in 30 Minutes - Python Pandas Tutorial" by Tech With Tim.
Compute and interpret mean, median, mode, and spread, and explain when each misleads. Identify normal, skewed, and heavy-tailed distributions and choose summaries to match. Compute correlation, interpret its strength, and explain why it does not prove causation. Run a hypothesis test from scratch, compute a p-value by permutation, and state what it does and does not prove.
Video: "Statistics for Data Analysts: Mean, Median, Correlation, Probability and Hypothesis Testing" by Tech guide by CandiMentor.
Compute basic probabilities and explain conditional probability in plain language. Apply Bayes' rule to update a probability when new evidence arrives. Explain confidence intervals and why a point prediction without uncertainty is incomplete. Explain expected value and variance, and use the law of large numbers to judge how much a sample average can be trusted.
Video: "Bayes theorem, the geometry of changing beliefs" by 3Blue1Brown.
Fit a linear regression by hand and explain slope, intercept, and residuals. Fit a multiple regression, interpret coefficients, and spot multicollinearity. Explain overfitting and use train/test splits and regularisation to control it. Fit ridge and lasso regression, explain how they differ, and choose the penalty strength by cross-validation.
Video: "Ridge vs Lasso Regression, Visualized!!!" by StatQuest with Josh Starmer.
Fit a logistic regression and interpret its output as a probability. Build a decision tree, explain its splits, and compare it with a random forest. Apply k-nearest neighbours, choose k, and explain why scaling and dimensionality matter. Fit a support vector machine and a naive Bayes classifier, explain how each works, and compare them with logistic regression.
Video: "Classification Algorithms 101: Logistic Regression, Naive Bayes, Decision Trees, SVM" by PythonGuides.
Build a majority-class and simple-rule baseline before any ML model. Create informative features from raw data and measure their effect on performance. Build an sklearn pipeline and run a grid search with cross-validation.
Video: "Building a Machine Learning Pipeline with Python and Scikit-Learn | Step-by-Step Tutorial" by Ryan & Matt Data Science.
Compute precision, recall, and F1 from a confusion matrix and choose the right metric. Run k-fold cross-validation and explain why it beats a single train/test split. Perform error analysis: categorise a model's mistakes and prioritise fixes. Plot an ROC curve, compute AUC, and choose a classification threshold from stated error costs.
Video: "How to evaluate ML models | Evaluation metrics for machine learning" by AssemblyAI.
Explain adversarial examples and demonstrate one on your own model. Describe data poisoning and model stealing and list defences for each. Apply adversarial training and robustness testing to harden your own model.
Video: "Adversarial Machine Learning explained! | With examples." by AI Coffee Break with Letitia.
Convert a notebook experiment into a script and schedule it to run automatically. Wrap a model in a simple API or demo and document how to use it. Detect data drift and decide when a model needs retraining. Version code, data, and model together so an experiment can be rerun and its score reproduced.
Video: "How to Deploy ML Solutions with FastAPI, Docker, & AWS" by Shaw Talebi.
Machine learning is a building skill, and this course teaches it by building. You will write Python, compute statistics from scratch, fit regression and classification models, break them on purpose, evaluate them honestly, harden them against adversarial tricks, and ship a working prototype as an API with a short report. Every lecture ends with a hands-on exercise in a notebook; every section ends with a quiz. By the end you will have a portfolio piece, not just notes.
The course starts where a hacker starts: with a problem, a dataset, and the smallest model that could work. Sections 1 and 2 set the ground rules — permission, privacy, and honest measurement — and get your Python, NumPy, pandas, and scikit-learn environment running. Sections 3 and 4 rebuild statistics and probability from scratch, so that means, medians, correlation, Bayes' rule, and confidence intervals are tools you own, not formulas you memorise.
Sections 5 and 6 cover the core models: linear and multiple regression, logistic regression, decision trees, random forests, and k-nearest neighbours. Section 7 is the highest-leverage material in the course: baselines, feature engineering, leakage, pipelines, and grid search. Section 8 teaches evaluation properly — precision, recall, F1, cross-validation, and error analysis — because a score you cannot trust is worse than no score at all.
Section 9 covers adversarial machine learning on the defensive side only: how models get fooled, how training data gets poisoned, how models get stolen, and how to harden your own models. Section 10 turns a notebook into a script, a scheduled job, a shipped API, and a monitored service, including drift detection and retraining decisions. The capstone in Section 11 brings it together: you scope, build, demo, and report a working ML prototype end to end.
No prior machine learning experience is needed. Basic Python helps but is not assumed — the crash course in Section 2 covers the working subset. Everything is taught for learning, building, and defensive or research use, on your own data and systems you have permission to test. There are no instructions for unauthorized access, no live targets, and no credential theft, anywhere in this course.
Note: This course's contents were developed by expert human SME's with the aid of artificial intelligence. On completion, you'll receive a certificate of completion with your name on it.