screamer.js
    Preparing search index...

    Interface ForecastPairsOptions

    interface ForecastPairsOptions {
        count?: number;
        dropna?: boolean;
        duration?: number;
        index?: "target" | "features";
    }
    Index
    count?: number

    The horizon as a number of events. Exactly one of count and duration.

    dropna?: boolean

    Drop a row whose features or target is NaN. Default false.

    duration?: number

    The horizon in index units, as in delay. Exactly one of count and duration.

    index?: "target" | "features"

    Whose index a row carries: "features" (the default) stamps row t at the features, holding the target over (t, t + horizon]; "target" stamps it at the target, holding the features from a horizon before.