Skip to content

Perfectly constant, minmax scaling ​

match ← All flat growth benchmarks

The same identical values, where minmax scaling has no range to divide by.

Input ​

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

Output ​

Largest difference: 0.

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-04-0635.000035.00000
2020-04-0735.000035.00000
2020-04-0835.000035.00000
2020-04-0935.000035.00000
2020-04-1035.000035.00000
2020-04-1135.000035.00000
2020-04-1235.000035.00000
2020-04-1335.000035.00000
2020-04-1435.000035.00000
2020-04-1535.000035.00000
2020-04-1635.000035.00000
2020-04-1735.000035.00000
2020-04-1835.000035.00000
2020-04-1935.000035.00000
2020-04-2035.000035.00000
2020-04-2135.000035.00000
2020-04-2235.000035.00000
2020-04-2335.000035.00000
2020-04-2435.000035.00000
2020-04-2535.000035.00000
2020-04-2635.000035.00000
2020-04-2735.000035.00000
2020-04-2835.000035.00000
2020-04-2935.000035.00000

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit1.16 ms3.03 ms2.6× faster
Predict212 µs2.59 ms12× faster
Save model to JSON18 µs397 µs23× faster
Load model from JSON105 µs2.06 ms20× faster
Load and predict in a new process151 ms1.45 s9.6× 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.