Skip to content

Noisy level, absmax scaling ​

match ← All flat growth benchmarks

96 daily rows wobbling slightly around 35.

Input ​

benchmark/inputs/v1/flat-level.json: 96 history rows and 24 forecast rows.

Output ​

Largest difference: 1.1e-11 (< 0.0001% of the input's range).

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-04-0635.001935.00191.1e-11
2020-04-0735.001935.00191.1e-11
2020-04-0835.001935.00191.1e-11
2020-04-0935.001935.00191.1e-11
2020-04-1035.001935.00191.1e-11
2020-04-1135.001935.00191.1e-11
2020-04-1235.001935.00191.1e-11
2020-04-1335.001935.00191.1e-11
2020-04-1435.001935.00191.1e-11
2020-04-1535.001935.00191.1e-11
2020-04-1635.001935.00191.1e-11
2020-04-1735.001935.00191.1e-11
2020-04-1835.001935.00191.1e-11
2020-04-1935.001935.00191.1e-11
2020-04-2035.001935.00191.1e-11
2020-04-2135.001935.00191.1e-11
2020-04-2235.001935.00191.1e-11
2020-04-2335.001935.00191.1e-11
2020-04-2435.001935.00191.1e-11
2020-04-2535.001935.00191.1e-11
2020-04-2635.001935.00191.1e-11
2020-04-2735.001935.00191.1e-11
2020-04-2835.001935.00191.1e-11
2020-04-2935.001935.00191.1e-11

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit1.78 ms7.40 ms4.2× faster
Predict222 µs2.66 ms12× faster
Save model to JSON20 µs420 µs21× faster
Load model from JSON146 µs2.05 ms14× faster
Load and predict in a new process152 ms1.42 s9.3× faster

Settings ​

The case declaration both libraries ran.

json
{
  "kind": "map",
  "comparison": {
    "kind": "equivalent-objective",
    "evidenceId": "flat-growth-reduced-v1"
  },
  "configuration": {
    "growth": "flat",
    "scaling": "absmax",
    "seasonalityMode": "additive",
    "holidaysMode": "additive",
    "changepoints": {
      "mode": "auto",
      "count": 25,
      "range": 0.8
    },
    "changepointPriorScale": 0.05,
    "seasonalities": [],
    "events": [],
    "regressors": []
  },
  "pythonOptimizer": {
    "algorithm": "Auto",
    "maxIterations": 10000,
    "newtonFallback": true,
    "sigFigs": 12
  }
}

Inspired by Prophet from Meta. Not affiliated with Meta.