Machine Learning
Supervised and unsupervised learning from the ground up, with scikit-learn, gradient boosting and an introduction to deep learning.
Start the free previewLabs run in your browser. No installs.
What you will be able to do
- Frame problems and choose metrics
- Engineer features and avoid leakage
- Train, tune and validate models
- Explain and evaluate fairly
Tools
- scikit-learn
- XGBoost
- LightGBM
- PyTorch
- SHAP
- MLflow
Syllabus — 8 modules
Framing ML problems
Machine learning finds patterns that predict an outcome. Start from the decision, pick a target and metric, and ask whether a simple rule would do.
Supervised, unsupervised, reinforcement · Classification vs regression · Targets and labels · Baselines · Train/validation/test splits · Data leakage
Linear models
Linear and logistic regression are fast, interpretable and strong baselines. Regularisation prevents overfitting.
Linear regression and gradient descent · Logistic regression · Ridge (L2), Lasso (L1), Elastic Net · Feature scaling · Bias–variance trade-off
Trees and ensembles
Decision trees split data by rules. Random forests average many trees; gradient boosting builds them sequentially and wins most tabular competitions.
Decision trees and impurity · Random forests and bagging · Gradient boosting: XGBoost, LightGBM, CatBoost · Feature importance · Handling categorical features
Evaluation
Accuracy misleads on imbalanced data. Choose the metric that matches the business cost of errors.
Confusion matrix · Precision, recall, F1 · ROC-AUC and PR-AUC · MAE, RMSE, MAPE · Cross-validation · Calibration · Threshold choice by cost
Features and pipelines
Good features beat clever algorithms. Pipelines bundle preprocessing with the model to prevent leakage.
Encoding: one-hot, target, ordinal · Missing values and imputation · Feature crosses and dates · ColumnTransformer and Pipeline · Imbalance: class weights, resampling
Tuning and explanation
Search hyperparameters systematically; explain predictions to users and regulators.
Grid, random and Bayesian search (Optuna) · Early stopping · SHAP values · Partial dependence · Fairness metrics and mitigation
Unsupervised learning
Find structure without labels: customer segments, anomalies, compressed features.
k-means and choosing k · Hierarchical clustering and DBSCAN · PCA and dimensionality reduction · Anomaly detection: isolation forest · Recommenders overview
Deep learning intro
Neural networks learn representations for images, text and audio. PyTorch is the standard research and production framework.
Neurons, layers, activations · Backpropagation · PyTorch tensors and training loops · CNNs and transformers overview · Transfer learning
How you are assessed
Every module ends with a check question. The final exam has 15 theory questions and 3 hands-on tasks solved in the tool this course teaches; pass at 70% for a certificate anyone can verify online.
Where it sits in the ML & Data Science track
- Machine Learning Foundations Beginner
- Machine Learning (this course) Intermediate → Advanced
- AI for Data Work All levels
- Data Science End to End Advanced
- MLOps & Model Deployment Advanced
Part of these career paths
Questions and answers
- How long does the Machine Learning course take?
- About 44 hours across 8 modules, at your own pace. At five hours a week most learners finish in 9 weeks.
- Is Machine Learning free?
- The first module is a free preview. The full course is part of Pro, or a friend's invite can unlock its whole track for up to three months using referral points.
- Do I get a certificate for Machine Learning?
- Yes. Pass the final exam (15 theory questions and 3 hands-on tasks in 40 minutes, pass mark 70%) and you get a certificate with an ID that anyone can verify online.
- What should I know before starting Machine Learning?
- It follows Machine Learning Foundations in the ML & Data Science track. If ML & Data Science is new to you, start with Machine Learning Foundations.
- What will I be able to do after Machine Learning?
- Frame problems and choose metrics; Engineer features and avoid leakage; Train, tune and validate models.