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 µs473 µs32× faster
Fit5.86 ms15.6 ms2.7× faster
Predict198 µs4.84 ms24× faster
Fit and predict4.03 ms20.5 ms5.1× faster
Convert, fit and predict3.74 ms20.6 ms5.5× faster
First forecast in a new process185 ms1.61 s8.7× faster
Save model to JSON106 µs520 µs4.9× faster
Load model from JSON1.40 ms3.24 ms2.3× faster
Load and predict in a new process173 ms1.62 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",
    "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.