Home / Factor research
AFML
Worked answers to Advances in Financial Machine Learning exercises
What it is
A set of worked solutions to the exercises in Marcos López de Prado's book Advances in Financial Machine Learning. The answers are implemented mainly in Python notebooks and follow the book chapter by chapter. Readers working through the book who want to check their own attempts against a reference implementation will find it most useful. Without the book itself much of the context is missing, and these are one reader's solutions rather than official ones.
At a glance
Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Professional quants |
|---|---|
| Used for | Strategy research, Data analysis |
| Markets | Multi-market |
| Stack | Python |
| Learning curve | Steep learning curve |
| Practical value | Low practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | No commits in over six months |
GitHub stars, last 30 days
Daily snapshots since 2026-09-28 (up to 30 days): +4 over the period, now 880. Gaps mean no snapshot was taken that day.
All the answers for exercises from Advances in Financial Machine Learning by Dr Marco Lopez de Parodo.
Similar tools
Pricing and Monte Carlo for stochastic volatility models
Jupyter notebooks companion to Machine Learning for Trading
Portfolio analytics and performance tear sheets for quants
scikit-learn compatible Python library for portfolio optimization
CVXPY-based portfolio optimization and strategic asset allocation
Goldman Sachs Python toolkit for derivatives and risk