Chapter 15. Machine and Deep Learning
Machine learning provides a flexible toolkit for finding patterns in data and building predictive models. In quantitative finance you can use the same core ideas—from linear regression and classification to deep neural networks—for tasks ranging from simple signal extraction to complex portfolio or risk models.
This chapter introduces a balanced set of tools. You start with baseline models from
scikit-learn for regression and classification on synthetic datasets where you know
the ground truth. You then explore unsupervised learning with principal component
analysis (PCA) and clustering before building a small PyTorch neural network for
non-linear classification. Each section uses visual examples so you can see how model
predictions compare to the true labels.
The chapter shows how to frame supervised learning problems on synthetic datasets with
known structure, train and evaluate baseline models from scikit-learn, apply PCA and K-means clustering to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access