Skip to content

No changepoints, absmax scaling ​

match ← All logistic growth benchmarks

96 daily rows rising toward a ceiling of about 100, with a little noise. Prediction covers the history and 24 more days. The curve's rate never changes. Values are divided by their largest distance from the floor.

Input ​

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

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-0114.185114.18511.9e-8
2020-01-0214.717214.71721.9e-8
2020-01-0315.265815.26582.0e-8
2020-01-0415.831315.83132.0e-8
2020-01-0516.413816.41382.1e-8
2020-01-0617.013617.01362.2e-8
2020-01-0717.631017.63102.2e-8
2020-01-0818.266018.26602.3e-8
2020-01-0918.918918.91892.3e-8
2020-01-1019.589819.58982.4e-8
2020-01-1120.278920.27892.5e-8
2020-01-1220.986220.98622.5e-8
2020-01-1321.711821.71182.6e-8
2020-01-1422.455822.45582.7e-8
2020-01-1523.218223.21822.7e-8
2020-01-1623.998823.99882.8e-8
2020-01-1724.797824.79782.8e-8
2020-01-1825.615025.61502.9e-8
2020-01-1926.450226.45023.0e-8
2020-01-2027.303227.30323.0e-8
2020-01-2128.174028.17403.1e-8
2020-01-2229.062229.06223.2e-8
2020-01-2329.967529.96753.2e-8
2020-01-2430.889630.88963.3e-8
2020-01-2531.828231.82823.3e-8
2020-01-2632.782832.78283.4e-8
2020-01-2733.752933.75293.4e-8
2020-01-2834.738034.73803.5e-8
2020-01-2935.737735.73773.5e-8
2020-01-3036.751336.75133.6e-8
2020-01-3137.778337.77833.6e-8
2020-02-0138.817838.81783.7e-8
2020-02-0239.869339.86933.7e-8
2020-02-0340.932140.93213.7e-8
2020-02-0442.005242.00523.8e-8
2020-02-0543.088143.08813.8e-8
2020-02-0644.179744.17973.8e-8
2020-02-0745.279345.27933.8e-8
2020-02-0846.385946.38593.9e-8
2020-02-0947.498847.49883.9e-8
2020-02-1048.616848.61683.9e-8
2020-02-1149.739249.73923.9e-8
2020-02-1250.865050.86503.9e-8
2020-02-1351.993251.99323.9e-8
2020-02-1453.122853.12283.9e-8
2020-02-1554.252854.25283.9e-8
2020-02-1655.382455.38243.9e-8
2020-02-1756.510656.51063.9e-8
2020-02-1857.636357.63633.9e-8
2020-02-1958.758758.75873.8e-8
2020-02-2059.876959.87693.8e-8
2020-02-2160.989860.98983.8e-8
2020-02-2262.096762.09673.8e-8
2020-02-2363.196763.19673.7e-8
2020-02-2464.288964.28893.7e-8
2020-02-2565.372565.37253.7e-8
2020-02-2666.446866.44683.6e-8
2020-02-2767.511067.51103.6e-8
2020-02-2868.564468.56443.6e-8
2020-02-2969.606269.60623.5e-8
2020-03-0170.636070.63603.5e-8
2020-03-0271.653071.65303.4e-8
2020-03-0372.656872.65683.4e-8
2020-03-0473.646773.64673.3e-8
2020-03-0574.622474.62243.3e-8
2020-03-0675.583375.58333.2e-8
2020-03-0776.529176.52913.1e-8
2020-03-0877.459577.45953.1e-8
2020-03-0978.374178.37413.0e-8
2020-03-1079.272579.27253.0e-8
2020-03-1180.154780.15472.9e-8
2020-03-1281.020481.02042.8e-8
2020-03-1381.869481.86942.8e-8
2020-03-1482.701682.70162.7e-8
2020-03-1583.517083.51702.6e-8
2020-03-1684.315484.31542.6e-8
2020-03-1785.096885.09682.5e-8
2020-03-1885.861285.86122.5e-8
2020-03-1986.608786.60872.4e-8
2020-03-2087.339487.33942.3e-8
2020-03-2188.053388.05332.3e-8
2020-03-2288.750588.75052.2e-8
2020-03-2389.431189.43112.1e-8
2020-03-2490.095490.09542.1e-8
2020-03-2590.743590.74352.0e-8
2020-03-2691.375591.37552.0e-8
2020-03-2791.991891.99181.9e-8
2020-03-2892.592492.59241.9e-8
2020-03-2993.177793.17771.8e-8
2020-03-3093.748093.74801.7e-8
2020-03-3194.303494.30341.7e-8
2020-04-0194.844294.84421.6e-8
2020-04-0295.370895.37081.6e-8
2020-04-0395.883395.88331.5e-8
2020-04-0496.382296.38221.5e-8
2020-04-0596.867696.86761.4e-8
2020-04-0697.340097.34001.4e-8
2020-04-0797.799597.79951.3e-8
2020-04-0898.246698.24661.3e-8
2020-04-0998.681498.68141.3e-8
2020-04-1099.104499.10441.2e-8
2020-04-1199.515799.51571.2e-8
2020-04-1299.915999.91591.1e-8
2020-04-13100.3050100.30501.1e-8
2020-04-14100.6835100.68351.1e-8
2020-04-15101.0516101.05161.0e-8
2020-04-16101.4096101.40969.8e-9
2020-04-17101.7578101.75789.5e-9
2020-04-18102.0966102.09669.1e-9
2020-04-19102.4261102.42618.8e-9
2020-04-20102.7468102.74688.5e-9
2020-04-21103.0587103.05878.2e-9
2020-04-22103.3623103.36237.9e-9
2020-04-23103.6578103.65787.6e-9
2020-04-24103.9454103.94547.3e-9
2020-04-25104.2254104.22547.0e-9
2020-04-26104.4980104.49806.8e-9
2020-04-27104.7635104.76356.5e-9
2020-04-28105.0222105.02226.3e-9
2020-04-29105.2742105.27426.0e-9

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit6.78 ms12.7 ms1.9× faster
Predict675 µs2.85 ms4.2× faster
Save model to JSON28 µs428 µs15× faster
Load model from JSON133 µs2.08 ms16× faster
Load and predict in a new process155 ms1.41 s9.1× 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": 0.05,
    "seasonalities": [],
    "events": [],
    "regressors": []
  },
  "pythonOptimizer": {
    "algorithm": "Auto",
    "maxIterations": 10000,
    "newtonFallback": true,
    "sigFigs": 12
  }
}

Inspired by Prophet from Meta. Not affiliated with Meta.