Skip to content

India with explicit known-gap opt-in ​

match ← All flat growth benchmarks

A 2036 history and 2037 forecasts use the pinned partial provider result with allow-known-gaps. The omitted table-backed holidays are not claimed complete.

Input ​

benchmark/inputs/v5/country-partial-96.json: 96 history rows and 3 forecast rows.

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2037-01-0120.051020.05103.0e-12
2037-01-2619.929119.92912.9e-12
2037-08-1520.051020.05103.2e-12

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Convert input rows15 µs446 µs30× faster
Fit3.64 ms15.2 ms4.2× faster
Predict208 µs4.85 ms23× faster
Fit and predict3.40 ms20.3 ms6.0× faster
Convert, fit and predict3.10 ms20.9 ms6.7× faster
First forecast in a new process179 ms1.59 s8.9× faster
Save model to JSON120 µs510 µs4.2× faster
Load model from JSON1.27 ms3.06 ms2.4× faster
Load and predict in a new process163 ms1.58 s9.7× faster

Settings ​

The case declaration both libraries ran.

json
{
  "kind": "map",
  "comparison": {
    "kind": "equivalent-objective",
    "evidenceId": "country-calendar-public-v1"
  },
  "configuration": {
    "growth": "flat",
    "countryHolidays": {
      "country": "IN",
      "coverage": "allow-known-gaps",
      "priorScale": 10
    },
    "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.