Skip to content

Noisy level, minmax scaling ​

match ← All flat growth benchmarks

The same rows scaled to the 0–1 range using their minimum and maximum.

Input ​

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

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-04-0635.001535.00157.2e-8
2020-04-0735.001535.00157.2e-8
2020-04-0835.001535.00157.2e-8
2020-04-0935.001535.00157.2e-8
2020-04-1035.001535.00157.2e-8
2020-04-1135.001535.00157.2e-8
2020-04-1235.001535.00157.2e-8
2020-04-1335.001535.00157.2e-8
2020-04-1435.001535.00157.2e-8
2020-04-1535.001535.00157.2e-8
2020-04-1635.001535.00157.2e-8
2020-04-1735.001535.00157.2e-8
2020-04-1835.001535.00157.2e-8
2020-04-1935.001535.00157.2e-8
2020-04-2035.001535.00157.2e-8
2020-04-2135.001535.00157.2e-8
2020-04-2235.001535.00157.2e-8
2020-04-2335.001535.00157.2e-8
2020-04-2435.001535.00157.2e-8
2020-04-2535.001535.00157.2e-8
2020-04-2635.001535.00157.2e-8
2020-04-2735.001535.00157.2e-8
2020-04-2835.001535.00157.2e-8
2020-04-2935.001535.00157.2e-8

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit3.89 ms20.0 ms5.2× faster
Predict199 µs2.66 ms13× faster
Save model to JSON19 µs408 µs21× faster
Load model from JSON117 µs2.06 ms18× faster
Load and predict in a new process151 ms1.40 s9.2× faster

Settings ​

The case declaration both libraries ran.

json
{
  "kind": "map",
  "comparison": {
    "kind": "equivalent-objective",
    "evidenceId": "flat-growth-reduced-v1"
  },
  "configuration": {
    "growth": "flat",
    "scaling": "minmax",
    "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.