Model selection workflow#

This page demonstrates how the sklearn-style meta-estimators in xyz can be used to search embedding settings and interaction delays before running a final TE analysis.

Why this workflow exists#

TRENTOOL-style TE analysis is not only about the low-level estimator. It also depends on:

  • choosing a sensible embedding dimension,

  • choosing an embedding spacing,

  • and choosing a plausible interaction delay.

The xyz search classes make these choices explicit and reproducible in a Pythonic, scikit-learn-like form.

Interactive example#

The two figures below show:

  1. a heatmap of the Ragwitz-style embedding search surface,

  2. a delay profile after fixing the best embedding.

Interpretation#

  • A smooth embedding surface is usually easier to trust than a highly erratic one.

  • Delay reconstruction is most convincing when the TE profile has a clear and interpretable maximum.

  • In real data, do not rely on model selection alone; combine it with significance testing and domain knowledge.