Skip to content

Every row on the same date, different values ​

match ← All flat growth benchmarks

Three rows sharing one timestamp. A flat trend needs no time range, so both libraries fit it.

Input ​

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

Output ​

Largest difference: 0.00029 (0.0059% of the input's range).

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-014.32864.32890.00029
2020-01-024.32864.32890.00029

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit888 µs5.74 ms6.5× faster
Predict167 µs2.68 ms16× faster
Save model to JSON22 µs323 µs14× faster
Load model from JSON160 µs1.89 ms12× faster
Load and predict in a new process156 ms1.40 s9.0× 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.