Machine Learning in Trading Strategy Design › Key Parameters

Michael BrenndoerferJanuary 3, 20261 min read
Quantitative FinanceAll chapters
Part 13 of 15Machine Learning and Alternative Data
Chapter 70Machine Learning in Trading Strategy Design › Key Parameters
Reading section 9 of 14 · Key Parameters · 1 minSection 9 of 14 · 1 min

Book contents

Section 9 of 14 · 1 min read

Machine Learning in Trading Strategy Design › Key ParametersOne section · Sections in this chapter9 / 14 ↓
Reading tools Definitions & inline links

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

The key parameters for unsupervised market structure models are:

  • n_clusters: The number of groups to find in K-Means clustering. This determines the granularity of the resulting asset universe.
  • contamination: The expected proportion of anomalies in the dataset for Isolation Forest. This sets the threshold for flagging data points as outliers.
  • linkage: The method used to calculate distances between clusters in hierarchical clustering (e.g., 'ward'). Different methods produce different cluster shapes.