Skip to content

Sweden with a smaller prediction batch ​

match ← All flat growth benchmarks

The identical 2,190-row history and frozen fitted columns as the 512-row case, with only 32 future rows; input bytes are frozen separately.

Input ​

benchmark/inputs/v6/country-scaling-2190-batch-32.json: 2190 history rows and 32 forecast rows.

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2025-12-3020.003320.00339.6e-11
2025-12-3120.003320.00339.6e-11
2026-01-0123.006623.00663.7e-10
2026-01-0220.003320.00339.6e-11
2026-01-0320.003320.00339.6e-11
2026-01-0420.009120.00917.5e-11
2026-01-0520.003320.00339.6e-11
2026-01-0619.993719.99374.8e-10
2026-01-0720.003320.00339.6e-11
2026-01-0820.003320.00339.6e-11
2026-01-0920.003320.00339.6e-11
2026-01-1020.003320.00339.6e-11
2026-01-1120.009120.00917.5e-11
2026-01-1220.003320.00339.6e-11
2026-01-1320.003320.00339.6e-11
2026-01-1420.003320.00339.6e-11
2026-01-1520.003320.00339.6e-11
2026-01-1620.003320.00339.6e-11
2026-01-1720.003320.00339.6e-11
2026-01-1820.009120.00917.5e-11
2026-01-1920.003320.00339.6e-11
2026-01-2020.003320.00339.6e-11
2026-01-2120.003320.00339.6e-11
2026-01-2220.003320.00339.6e-11
2026-01-2320.003320.00339.6e-11
2026-01-2420.003320.00339.6e-11
2026-01-2520.009120.00917.5e-11
2026-01-2620.003320.00339.6e-11
2026-01-2720.003320.00339.6e-11
2026-01-2820.003320.00339.6e-11
2026-01-2920.003320.00339.6e-11
2026-01-3020.003320.00339.6e-11

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit16.6 ms44.8 ms2.7× faster
Predict519 µs7.97 ms15× faster
Save model to JSON386 µs2.58 ms6.7× faster
Load model from JSON4.49 ms5.92 ms1.3× faster
Load and predict in a new process177 ms1.65 s9.3× 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": "SE",
      "coverage": "reject-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.