M13 Machine Learning for Trading
What you will learn: apply ML correctly to noisy, non-stationary financial data.
Learn first: M12 Backtesting Engine & Optimization
Module exam
When you have finished the topics, a timed exam on the whole module earns a certificate you can share and anyone can check.
See the module examChapters
C01 ML Foundations Chapter quiz
- What ML can and cannot do in markets · Coming soon
- Supervised vs unsupervised; regression vs classification · Coming soon
- The bias-variance trade-off and overfitting · Coming soon
C02 Financial Data & Labelling Chapter quiz
- Feature engineering: price, fundamental and alternative features · Coming soon
- Labelling: fixed-horizon, triple-barrier, meta-labelling · Coming soon
- Non-IID data and sample weighting · Coming soon
- Stationarity with memory: fractional differentiation · Coming soon
C03 Supervised Models Chapter quiz
- Linear and logistic regression with regularisation · Coming soon
- Decision trees and random forests · Coming soon
- Gradient boosting (XGBoost / LightGBM) · Coming soon
- SVM and k-nearest neighbours · Coming soon
C04 Validating Models in Finance Chapter quiz
- Walk-forward and purged cross-validation · Coming soon
- Metrics: accuracy vs profit, precision/recall, information coefficient · Coming soon
- Feature importance: MDI, MDA, SHAP · Coming soon
C05 Unsupervised Learning Chapter quiz
- Clustering assets and regimes (k-means, Hidden Markov Models) · Coming soon
- PCA and statistical factor discovery · Coming soon
- Anomaly detection · Coming soon
C06 NLP & Alternative Data Chapter quiz
- News and social sentiment analysis · Coming soon
- Embeddings and topic modelling · Coming soon
- LLM-based feature extraction · Coming soon
C07 From Model to Strategy Chapter quiz
- Turning predictions into positions · Coming soon
- Ensembles, monitoring and model drift · Coming soon
- MLOps for trading · Coming soon
C08 Uncertainty, Calibration & Probabilistic ML Chapter quiz
- Quantile regression and prediction intervals · Coming soon
- Conformal prediction · Coming soon
- Probability calibration and decision thresholds · Coming soon
- Ensembles and uncertainty-aware position sizing · Coming soon
- Interpretable and causal ML (links M04.C12) · Coming soon
C09 ML Labs Chapter quiz
- Lab: build features and a triple-barrier label set · Coming soon
- Lab: purged cross-validation vs ordinary cross-validation (see the leak) · Coming soon
- Lab: gradient boosting vs linear model out of sample · Coming soon
- Lab: feature importance and SHAP explanation · Coming soon
- Lab: turn predictions into positions and back-test with costs · Coming soon
C10 ML Failure Gallery: When Not to Use ML Chapter quiz
- Typical failure patterns: leakage, overfitting, regime change, label noise · Coming soon
- Why accuracy can be 55% and the strategy still lose · Coming soon
- Comparing against simple baselines · Coming soon
- A go/no-go checklist before deploying a model · Coming soon
C11 Tabular ML for Fundamentals & Credit Chapter quiz
- Cross-sectional stock selection models · Coming soon
- Credit-default and earnings-surprise prediction · Coming soon
- Handling missing and delayed fundamentals (point-in-time data) · Coming soon
- Sector- and time-aware validation · Coming soon
Module Pack coming soon
Labs, the project, tools and reading list for this module are still being written.