Skip to main content

Module backtest

Module backtest 

Source
Expand description

Triangle holdout and selector backtesting kernels.

Structs§

BacktestScore
Backtest metrics for one selector on one holdout scheme.
HoldoutCell
One held-out triangle cell and its actual value.
HoldoutSet
Training triangle plus the held-out cells removed from it.

Functions§

backtest_selector_family
Backtest a selector family against a latest-diagonal holdout.
fit_predict_score
Fit a selector on the training triangle and score predictions on the held-out cells.
holdout_last_k_diagonals
Hold out the last k observed diagonals under square-triangle geometry.
holdout_latest_diagonal
Hold out the latest observed cumulative value in each origin row except fully developed rows.