Skip to content

API Reference

This reference is generated directly from the source docstrings via mkdocstrings, so it always matches the code.

flowchart TD
    subgraph Entry["Entrypoints & SDK"]
        SDK["Forecaster & Registry (sdk)"]
        REV["monitor_run & review_run (review)"]
        PG["Single-Series Playground (playground)"]
        MAIN["run & CLI (main)"]
    end
    subgraph Plan["Planning, Sizing & Preflight"]
        CFG["RunConfig & Settings (config, settings)"]
        DAG["DAG & Router (dag, router, launch_plan)"]
        PROF["Profiling, Resources, Quota & Capacity"]
    end
    subgraph Core["Forecasting Core & Engines"]
        WRK["run_cell (worker)"]
        MOD["Models, Features, Seasonality & HPO"]
        BT["Backtest, Metrics & Calibration"]
        ENS["Ensembler & Ensemble Driver"]
        ENG["Spark, Ray, Vertex CustomJob, GCE, GKE, BigQuery & Vertex AutoML Engines"]
    end
    subgraph Ops["Registry, Probes & Repair"]
        REG["Registry Views & Ops (registry.views, registry.ops)"]
        PRB["Probes, Surgical Repair & Ray Reaper"]
    end
    Entry --> Plan --> Core --> Ops

scale_forecasting exposes three doors onto the same forecasting core, plus a full operational and registry management surface:

Supporting surfaces: configuration, settings, errors, the model factory and BaseModel contract, features, compositional simplex transforms, monotonic & sign constraints, moving-holiday windows, promo & price elasticity decomposition, seasonality, HPO, ensembler and ensemble driver, hierarchical reconciliation, temporal hierarchy reconciliation (THieF), top-down goal-seek allocation, cold-start & NPI analog transfer, time-series similarity & clustering (scale_forecasting.similarity), online adaptive conformal inference, joint trajectory copulas, portfolio inventory optimizer, prescriptive scenario optimizer, clearance, space & contract optimizer, metrics and BaseMetric, backtesting, calibration, compute profiling, resource planning, quota preflight, capacity fallback, and the synthetic data generator.

The package front door lazy-loads the heavy names via __getattr__, so import scale_forecasting stays fast; each page below documents the concrete module a name resolves to.