Skip to content

Every row on the same date, same value ​

match ← All flat growth benchmarks

Three identical rows on one timestamp.

Input ​

benchmark/inputs/v1/training-zero-span-constant.json: 3 history rows and 2 forecast rows.

Output ​

Largest difference: 0.

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-012.00002.00000
2020-01-022.00002.00000

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit530 µs2.86 ms5.4× faster
Predict183 µs2.61 ms14× faster
Save model to JSON24 µs328 µs14× faster
Load model from JSON147 µs1.89 ms13× faster
Load and predict in a new process153 ms1.47 s9.6× faster

Settings ​

The case declaration both libraries ran.

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

Inspired by Prophet from Meta. Not affiliated with Meta.