timesfm-ts - v1.0.0
    Preparing search index...
    • Extract a specific quantile forecast for a single series.

      Zero-copy — returns a direct reference to the underlying Float32Array.

      Parameters

      • output: ForecastOutput

        Forecast output from model.forecast().

      • seriesIndex: number

        Index of the series (0-based).

      • quantileIndex: number

        Quantile index (use QUANTILE_INDICES constants).

      Returns Float32Array

      const q10 = getQuantile(output, 0, QUANTILE_INDICES.Q10);