screamer.js
    Preparing search index...

    Interface WalkForwardResult

    interface WalkForwardResult {
        choice: Int32Array;
        foldStart: Int32Array;
        metric: string;
        output: NdArray;
        stats: Record<StatName, number>;
        target: Float64Array<ArrayBufferLike> | NdArray;
        trainScores: NdArray;
    }
    Index
    choice: Int32Array

    The chosen candidate per fold; -1 when every score was NaN (flat).

    foldStart: Int32Array

    The first step of each test window.

    metric: string
    output: NdArray

    The engine output on target, (T, 4), or (T, K, 4) for a portfolio engine, after carry when carry is given.

    stats: Record<StatName, number>

    Every statistic of output from the first test window to the end.

    target: Float64Array<ArrayBufferLike> | NdArray

    The stitched out-of-sample target: 0 before the first test window; [T, K] for a portfolio engine.

    trainScores: NdArray

    Every candidate's metric on every training window, (nFolds, C) row-major.