Skip to content

Three automatic changepoints, minmax 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. Changepoints are spread over the first 80% of the history. Values are scaled between the lowest floor and the highest ceiling.

Input ​

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

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-0116.895216.89528.5e-11
2020-01-0217.131817.13188.7e-11
2020-01-0317.388517.38858.8e-11
2020-01-0417.666917.66698.9e-11
2020-01-0517.968717.96878.9e-11
2020-01-0618.295718.29578.8e-11
2020-01-0718.649618.64968.7e-11
2020-01-0819.032619.03268.4e-11
2020-01-0919.446519.44658.1e-11
2020-01-1019.893719.89377.7e-11
2020-01-1120.376320.37637.1e-11
2020-01-1220.896620.89666.4e-11
2020-01-1321.457021.45705.5e-11
2020-01-1422.059922.05994.5e-11
2020-01-1522.707822.70783.2e-11
2020-01-1623.403223.40321.8e-11
2020-01-1724.148524.14858.2e-13
2020-01-1824.946224.94621.8e-11
2020-01-1925.798525.79854.0e-11
2020-01-2026.707826.70786.5e-11
2020-01-2127.676127.67619.2e-11
2020-01-2228.705328.70531.2e-10
2020-01-2329.797029.79701.6e-10
2020-01-2430.952630.95261.9e-10
2020-01-2532.173132.17312.3e-10
2020-01-2633.459133.45912.8e-10
2020-01-2734.282834.28282.5e-10
2020-01-2835.131435.13142.2e-10
2020-01-2936.004936.00491.9e-10
2020-01-3036.903136.90311.6e-10
2020-01-3137.825737.82571.2e-10
2020-02-0138.772338.77238.4e-11
2020-02-0239.742639.74264.5e-11
2020-02-0340.736040.73603.8e-12
2020-02-0441.751941.75193.9e-11
2020-02-0542.789642.78968.4e-11
2020-02-0643.848343.84831.3e-10
2020-02-0744.927144.92711.8e-10
2020-02-0846.025146.02512.3e-10
2020-02-0947.141347.14132.8e-10
2020-02-1048.274448.27443.3e-10
2020-02-1149.423249.42323.8e-10
2020-02-1250.586550.58654.4e-10
2020-02-1351.762951.76294.9e-10
2020-02-1452.951052.95105.4e-10
2020-02-1554.149354.14936.0e-10
2020-02-1655.356255.35626.5e-10
2020-02-1756.570256.57027.1e-10
2020-02-1857.789657.78967.6e-10
2020-02-1959.012959.01298.1e-10
2020-02-2060.238460.23848.6e-10
2020-02-2161.285361.28537.5e-10
2020-02-2262.331862.33186.4e-10
2020-02-2363.376963.37695.2e-10
2020-02-2464.419764.41974.1e-10
2020-02-2565.459165.45913.0e-10
2020-02-2666.494366.49431.9e-10
2020-02-2767.524267.52427.5e-11
2020-02-2868.547968.54793.4e-11
2020-02-2969.564569.56451.4e-10
2020-03-0170.573270.57322.5e-10
2020-03-0271.573271.57323.5e-10
2020-03-0372.563672.56364.5e-10
2020-03-0473.543673.54365.5e-10
2020-03-0574.512674.51266.4e-10
2020-03-0675.469975.46997.3e-10
2020-03-0776.414976.41498.2e-10
2020-03-0877.346977.34699.0e-10
2020-03-0978.265478.26549.9e-10
2020-03-1079.169979.16991.1e-9
2020-03-1180.059980.05991.1e-9
2020-03-1280.935180.93511.2e-9
2020-03-1381.795081.79501.3e-9
2020-03-1482.639482.63941.3e-9
2020-03-1583.468083.46801.4e-9
2020-03-1684.280584.28051.4e-9
2020-03-1785.076885.07681.2e-9
2020-03-1885.856685.85669.0e-10
2020-03-1986.619986.61996.4e-10
2020-03-2087.366787.36674.0e-10
2020-03-2188.096888.09681.7e-10
2020-03-2288.810388.81034.7e-11
2020-03-2389.507189.50712.5e-10
2020-03-2490.187590.18754.5e-10
2020-03-2590.851390.85136.3e-10
2020-03-2691.498991.49898.1e-10
2020-03-2792.130292.13029.7e-10
2020-03-2892.745592.74551.1e-9
2020-03-2993.345093.34501.3e-9
2020-03-3093.928893.92881.4e-9
2020-03-3194.497294.49721.5e-9
2020-04-0195.050595.05051.6e-9
2020-04-0295.588895.58881.7e-9
2020-04-0396.112596.11251.8e-9
2020-04-0496.621896.62181.9e-9
2020-04-0597.117097.11702.0e-9
2020-04-0697.598497.59842.1e-9
2020-04-0798.066398.06632.1e-9
2020-04-0898.521098.52102.2e-9
2020-04-0998.962998.96292.2e-9
2020-04-1099.392399.39232.3e-9
2020-04-1199.809399.80932.3e-9
2020-04-12100.2145100.21452.3e-9
2020-04-13100.6081100.60812.3e-9
2020-04-14100.9904100.99042.4e-9
2020-04-15101.3618101.36182.4e-9
2020-04-16101.7225101.72252.4e-9
2020-04-17102.0729102.07292.4e-9
2020-04-18102.4133102.41332.4e-9
2020-04-19102.7440102.74402.4e-9
2020-04-20103.0653103.06532.4e-9
2020-04-21103.3775103.37752.3e-9
2020-04-22103.6808103.68082.3e-9
2020-04-23103.9756103.97562.3e-9
2020-04-24104.2622104.26222.3e-9
2020-04-25104.5408104.54082.3e-9
2020-04-26104.8117104.81172.2e-9
2020-04-27105.0752105.07522.2e-9
2020-04-28105.3315105.33152.2e-9
2020-04-29105.5809105.58092.2e-9

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit9.52 ms18.0 ms1.9× faster
Predict778 µs2.91 ms3.7× faster
Save model to JSON22 µs453 µs21× faster
Load model from JSON145 µs2.31 ms16× faster
Load and predict in a new process154 ms1.50 s9.7× faster

Settings ​

The case declaration both libraries ran.

json
{
  "kind": "map",
  "comparison": {
    "kind": "equivalent-objective",
    "evidenceId": "logistic-python-reconciliation-v1"
  },
  "configuration": {
    "growth": "logistic",
    "scaling": "minmax",
    "seasonalityMode": "additive",
    "holidaysMode": "additive",
    "changepoints": {
      "mode": "auto",
      "count": 3,
      "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.