Skip to content

No-calendar empty control ​

match ← All flat growth benchmarks

The same history and forecast rows as the empty-country case, with no events or embedded country data.

Input ​

benchmark/inputs/v5/country-basic-96.json: 96 history rows and 4 forecast rows.

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2024-12-2520.047320.04731.1e-11
2025-01-0120.047320.04731.1e-11
2025-01-0220.047320.04731.1e-11
2025-01-0520.047320.04731.1e-11

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Convert input rows14 µs474 µs33× faster
Fit1.77 ms8.37 ms4.7× faster
Predict118 µs2.60 ms22× faster
Fit and predict1.43 ms10.9 ms7.6× faster
Convert, fit and predict1.47 ms11.6 ms7.9× faster
First forecast in a new process183 ms1.45 s7.9× faster
Save model to JSON20 µs462 µs24× faster
Load model from JSON131 µs2.08 ms16× faster
Load and predict in a new process158 ms1.49 s9.4× faster

Settings ​

The case declaration both libraries ran.

json
{
  "kind": "map",
  "comparison": {
    "kind": "equivalent-objective",
    "evidenceId": "country-calendar-public-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.