Fold

Models & Types · AiDotNet.Finance.Evaluation

One purged/embargoed walk-forward fold: the surviving train indices and the test indices.

Constructors

Constructor Summary
Fold(IReadOnlyList<int> trainIndices, IReadOnlyList<int> testIndices) Creates a fold from its train and test index lists.

Properties

Property Summary
IReadOnlyList<int> TestIndices { get; } Test-sample indices for this fold (a contiguous forward block).
IReadOnlyList<int> TrainIndices { get; } Training-sample indices remaining after purge and embargo.