Skip to Content
Machine Learning for Algorithmic Trading - Second Edition
book

Machine Learning for Algorithmic Trading - Second Edition

by Stefan Jansen
July 2020
Beginner to intermediate
820 pages
25h 30m
English
Packt Publishing
Content preview from Machine Learning for Algorithmic Trading - Second Edition

12

Boosting Your Trading Strategy

In the previous chapter, we saw how random forests improve on the predictions of a decision tree by combining many trees into an ensemble. The key to reducing the high variance of an individual tree is the use of bagging, short for bootstrap aggregation, which introduces randomness into the process of growing individual trees. More specifically, bagging samples from the data with replacements so that each tree is trained on a different but equal-sized random subset, with some observations repeating. In addition, a random forest randomly selects a subset of the features so that both the rows and the columns of the training set for each tree are random versions of the original data. The ensemble then generates ...

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.
Start your free trial

You might also like

Hands-On Machine Learning for Algorithmic Trading

Hands-On Machine Learning for Algorithmic Trading

Stefan Jansen

Publisher Resources

ISBN: 9781839217715Supplemental Content