Data, Statistics & Classical ML Notes
Subject Overview
The second half of the Foundations year: take raw data, prepare it properly, and train traditional ML models that solve real problems.
Read moreShow less
Six modules cover statistics for ML, data wrangling, supervised and unsupervised learning, and the workflow and experiment tracking that keep results reproducible. Students leave Year 1 able to clean data, train models, and reason about results.
Subject at a glance
8
Units
37
Topics
15
Hours
8
Infographics
Unit-wise Syllabus
8 units — click WhatsApp below to get the full notes for each
Unit 1: Statistics for ML (3 hours)
- Descriptive versus inferential statistics
- hypothesis testing
- p-values
- confidence intervals
- common pitfalls
Study guide
This module builds statistical thinking for ML: descriptive versus inferential statistics, hypothesis testing, p-values, confidence intervals and common pitfalls. Learn what a p-value does not tell you, since misreading it is a classic mistake.
Unit 2: Data Wrangling (3 hours)
- Cleaning
- missing values
- outliers
- feature engineering
- scaling
- encoding categorical variables
Study guide
Real data is messy. You learn cleaning, missing values, outliers, feature engineering, scaling and encoding categorical variables. Expect to spend more time here than on modelling in real projects.
Unit 3: Supervised Learning I (4 hours)
- Linear regression
- logistic regression
- decision trees
- train/test splits
- cross-validation
Study guide
Supervised learning begins with linear and logistic regression, decision trees, train-test splits and cross-validation. Always evaluate on data the model has not seen.
Unit 4: Supervised Learning II (4 hours)
- Random forests
- gradient boosting (XGBoost, LightGBM)
- SVMs
- model evaluation metrics
Study guide
You move to random forests, gradient boosting (XGBoost, LightGBM), SVMs and model evaluation metrics. Boosted trees are often the strongest baseline for tabular data.
Unit 5: Unsupervised Learning (3 hours)
- K-means
- hierarchical clustering
- PCA
- t-SNE
- UMAP — when and why to use each
Study guide
Unsupervised learning covers K-means, hierarchical clustering, PCA, t-SNE and UMAP and, importantly, when and why to use each. Use PCA for compression and t-SNE or UMAP for visualisation.
Unit 6: ML Workflow & Experiment Tracking (3 hours)
- scikit-learn pipelines
- hyperparameter tuning
- MLflow or Weights & Biases for tracking
Study guide
You learn the workflow around models: scikit-learn pipelines, hyperparameter tuning and experiment tracking with MLflow or Weights & Biases. Tracking experiments keeps your results reproducible.
Unit 7: Tools introduced
- scikit-learn
- XGBoost
- LightGBM
- MLflow / Weights & Biases for experiment tracking
- Kaggle for datasets and competitions
- Claude / ChatGPT as a debugging and code review partner
Study guide
The tools introduced include scikit-learn, XGBoost, LightGBM, MLflow and Weights & Biases, Kaggle for datasets and competitions and AI assistants such as Claude or ChatGPT for debugging and code review. Join a Kaggle competition to practise on real problems.
Unit 8: Mini-projects
- Titanic survival prediction with a full ML pipeline
- customer segmentation on real e-commerce data
- house price predictor deployed as a simple Streamlit app
Study guide
The mini-projects are Titanic survival prediction with a full pipeline, customer segmentation on real e-commerce data and a house price predictor deployed as a Streamlit app. Deploying a model, even simply, teaches more than any notebook.
Why Data, Statistics & Classical ML Matters
Classical machine learning remains the workhorse of industry for tabular data, and the statistical habits you build here prevent expensive mistakes later. Mastering pipelines, evaluation and tracking makes you job-ready for data scientist and ML engineer roles.
How to Prepare for Data, Statistics & Classical ML
- Build every project with a proper train, validation and test split.
- Enter a Kaggle competition and read top solutions.
- Track experiments with MLflow or Weights & Biases from the start.
Data, Statistics & Classical ML: Frequently Asked Questions
What is the difference between supervised and unsupervised learning?
Supervised learning learns from labelled data to predict outcomes, while unsupervised learning finds structure in unlabelled data.
Why use cross-validation?
Cross-validation gives a more reliable estimate of how a model will perform on new data by testing it on several different splits.
