Skip to content

No changepoints, loose prior, absmax scaling ​

match ← All logistic growth benchmarks

No changepoints but a changepoint prior scale of 10. Prophet adds a hidden placeholder changepoint here; the forecasts must still agree.

Input ​

benchmark/inputs/v2/logistic-basic-96.json: 96 history rows and 120 forecast rows.

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-016.31726.31722.0e-9
2020-01-026.57636.57632.1e-9
2020-01-036.84536.84532.2e-9
2020-01-047.12447.12442.3e-9
2020-01-057.41417.41412.4e-9
2020-01-067.71467.71462.5e-9
2020-01-078.02628.02622.6e-9
2020-01-088.34948.34942.6e-9
2020-01-098.68448.68442.7e-9
2020-01-109.03159.03152.8e-9
2020-01-119.39129.39122.9e-9
2020-01-129.76379.76373.1e-9
2020-01-1310.149410.14943.2e-9
2020-01-1410.548710.54873.3e-9
2020-01-1510.961910.96193.4e-9
2020-01-1611.389211.38923.5e-9
2020-01-1711.831111.83113.6e-9
2020-01-1812.288012.28803.7e-9
2020-01-1912.760012.76003.9e-9
2020-01-2013.247613.24764.0e-9
2020-01-2113.751013.75104.1e-9
2020-01-2214.270614.27064.2e-9
2020-01-2314.806714.80674.4e-9
2020-01-2415.359515.35954.5e-9
2020-01-2515.929315.92934.6e-9
2020-01-2616.516316.51634.8e-9
2020-01-2717.120917.12094.9e-9
2020-01-2817.743217.74325.1e-9
2020-01-2918.383418.38345.2e-9
2020-01-3019.041819.04185.3e-9
2020-01-3119.718419.71845.5e-9
2020-02-0120.413420.41345.6e-9
2020-02-0221.126921.12695.8e-9
2020-02-0321.859121.85915.9e-9
2020-02-0422.609822.60986.1e-9
2020-02-0523.379223.37926.2e-9
2020-02-0624.167224.16726.4e-9
2020-02-0724.973924.97396.5e-9
2020-02-0825.799025.79906.7e-9
2020-02-0926.642526.64256.8e-9
2020-02-1027.504227.50427.0e-9
2020-02-1128.384028.38407.1e-9
2020-02-1229.281529.28157.2e-9
2020-02-1330.196530.19657.4e-9
2020-02-1431.128731.12877.5e-9
2020-02-1532.077632.07767.6e-9
2020-02-1633.043033.04307.8e-9
2020-02-1734.024334.02437.9e-9
2020-02-1835.021035.02108.0e-9
2020-02-1936.032636.03268.1e-9
2020-02-2037.058537.05858.2e-9
2020-02-2138.098238.09828.3e-9
2020-02-2239.150839.15088.4e-9
2020-02-2340.215840.21588.5e-9
2020-02-2441.292441.29248.6e-9
2020-02-2542.379842.37988.7e-9
2020-02-2643.477243.47728.7e-9
2020-02-2744.583844.58388.8e-9
2020-02-2845.698845.69888.9e-9
2020-02-2946.821146.82118.9e-9
2020-03-0147.950047.95008.9e-9
2020-03-0249.084549.08459.0e-9
2020-03-0350.223650.22369.0e-9
2020-03-0451.366351.36639.0e-9
2020-03-0552.511852.51189.0e-9
2020-03-0653.659153.65919.0e-9
2020-03-0754.807054.80709.0e-9
2020-03-0855.954755.95479.0e-9
2020-03-0957.101257.10129.0e-9
2020-03-1058.245658.24569.0e-9
2020-03-1159.386859.38688.9e-9
2020-03-1260.523860.52388.9e-9
2020-03-1361.655961.65598.8e-9
2020-03-1462.782162.78218.8e-9
2020-03-1563.901463.90148.7e-9
2020-03-1665.013165.01318.6e-9
2020-03-1766.116366.11638.5e-9
2020-03-1867.210167.21018.5e-9
2020-03-1968.293968.29398.4e-9
2020-03-2069.366969.36698.3e-9
2020-03-2170.428470.42848.2e-9
2020-03-2271.477771.47778.1e-9
2020-03-2372.514372.51437.9e-9
2020-03-2473.537573.53757.8e-9
2020-03-2574.546874.54687.7e-9
2020-03-2675.541775.54177.6e-9
2020-03-2776.521776.52177.5e-9
2020-03-2877.486577.48657.3e-9
2020-03-2978.435678.43567.2e-9
2020-03-3079.368779.36877.0e-9
2020-03-3180.285680.28566.9e-9
2020-04-0181.186081.18606.8e-9
2020-04-0282.069682.06966.6e-9
2020-04-0382.936382.93636.5e-9
2020-04-0483.785983.78596.3e-9
2020-04-0584.618484.61846.2e-9
2020-04-0685.433785.43376.0e-9
2020-04-0786.231886.23185.9e-9
2020-04-0887.012587.01255.8e-9
2020-04-0987.776187.77615.6e-9
2020-04-1088.522488.52245.5e-9
2020-04-1189.251789.25175.3e-9
2020-04-1289.963989.96395.2e-9
2020-04-1390.659390.65935.0e-9
2020-04-1491.338091.33804.9e-9
2020-04-1592.000292.00024.8e-9
2020-04-1692.646092.64604.6e-9
2020-04-1793.275793.27574.5e-9
2020-04-1893.889593.88954.4e-9
2020-04-1994.487694.48764.2e-9
2020-04-2095.070395.07034.1e-9
2020-04-2195.637895.63784.0e-9
2020-04-2296.190496.19043.9e-9
2020-04-2396.728596.72853.7e-9
2020-04-2497.252297.25223.6e-9
2020-04-2597.761997.76193.5e-9
2020-04-2698.257998.25793.4e-9
2020-04-2798.740498.74043.3e-9
2020-04-2899.209999.20993.2e-9
2020-04-2999.666699.66663.1e-9

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit116 ms128 ms1.1× faster
Predict719 µs3.12 ms4.3× faster
Save model to JSON30 µs427 µs14× faster
Load model from JSON150 µs2.09 ms14× faster
Load and predict in a new process154 ms1.54 s10× faster

Settings ​

The case declaration both libraries ran.

json
{
  "kind": "map",
  "comparison": {
    "kind": "equivalent-objective",
    "evidenceId": "logistic-python-reconciliation-v1"
  },
  "configuration": {
    "growth": "logistic",
    "scaling": "absmax",
    "seasonalityMode": "additive",
    "holidaysMode": "additive",
    "changepoints": {
      "mode": "explicit",
      "timestamps": []
    },
    "changepointPriorScale": 10,
    "seasonalities": [],
    "events": [],
    "regressors": []
  },
  "pythonOptimizer": {
    "algorithm": "Auto",
    "maxIterations": 10000,
    "newtonFallback": true,
    "sigFigs": 12
  }
}

Inspired by Prophet from Meta. Not affiliated with Meta.