timesfm-ts - v1.0.0
    Preparing search index...
    • Apply all post-processing steps to model decode output.

      Parameters

      • decodeResult: DecodeResult

        Raw output from the decode loop.

      • horizon: number

        Requested forecast horizon.

      • fc: ForecastConfig

        Forecast configuration.

      • mc: ModelConfig = TIMESFM_25_CONFIG

        Model configuration.

      • inputStats: { mu: number; sigma: number }[] | null = null

        Pre-computed {mu, sigma} per batch element for z-score reversal. Only used when fc.normalizeInputs is true.

      • flipDecode: DecodeResult | null = null

        Decode result for negated inputs (if forceFlipInvariance).

      • isPositiveFlags: boolean[] | null = null

      Returns ForecastOutput