Skip to content

Repeated dates ​

match ← All logistic growth benchmarks

96 rows over 48 dates, each appearing twice with different values. Every row counts as its own measurement.

Input ​

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

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-0114.188014.18802.4e-11
2020-01-0114.188014.18802.4e-11
2020-01-0215.268015.26802.5e-11
2020-01-0215.268015.26802.5e-11
2020-01-0316.414916.41492.5e-11
2020-01-0316.414916.41492.5e-11
2020-01-0417.630417.63042.5e-11
2020-01-0417.630417.63042.5e-11
2020-01-0518.916118.91612.6e-11
2020-01-0518.916118.91612.6e-11
2020-01-0620.273020.27302.6e-11
2020-01-0620.273020.27302.6e-11
2020-01-0721.702021.70202.6e-11
2020-01-0721.702021.70202.6e-11
2020-01-0823.203123.20312.5e-11
2020-01-0823.203123.20312.5e-11
2020-01-0924.776224.77622.5e-11
2020-01-0924.776224.77622.5e-11
2020-01-1026.420526.42052.4e-11
2020-01-1026.420526.42052.4e-11
2020-01-1128.134428.13442.4e-11
2020-01-1128.134428.13442.4e-11
2020-01-1229.915929.91592.3e-11
2020-01-1229.915929.91592.3e-11
2020-01-1331.762131.76212.2e-11
2020-01-1331.762131.76212.2e-11
2020-01-1433.669633.66962.0e-11
2020-01-1433.669633.66962.0e-11
2020-01-1535.634435.63441.9e-11
2020-01-1535.634435.63441.9e-11
2020-01-1637.651537.65151.7e-11
2020-01-1637.651537.65151.7e-11
2020-01-1739.715639.71561.6e-11
2020-01-1739.715639.71561.6e-11
2020-01-1841.820541.82051.4e-11
2020-01-1841.820541.82051.4e-11
2020-01-1943.959843.95981.2e-11
2020-01-1943.959843.95981.2e-11
2020-01-2046.126546.12651.0e-11
2020-01-2046.126546.12651.0e-11
2020-01-2148.313948.31397.9e-12
2020-01-2148.313948.31397.9e-12
2020-01-2250.513750.51375.8e-12
2020-01-2250.513750.51375.8e-12
2020-01-2352.718152.71813.7e-12
2020-01-2352.718152.71813.7e-12
2020-01-2454.919354.91931.5e-12
2020-01-2454.919354.91931.5e-12
2020-01-2557.109457.10946.5e-13
2020-01-2557.109457.10946.5e-13
2020-01-2659.281059.28102.7e-12
2020-01-2659.281059.28102.7e-12
2020-01-2761.426761.42674.8e-12
2020-01-2761.426761.42674.8e-12
2020-01-2863.539663.53966.7e-12
2020-01-2863.539663.53966.7e-12
2020-01-2965.613365.61338.6e-12
2020-01-2965.613365.61338.6e-12
2020-01-3067.642067.64201.0e-11
2020-01-3067.642067.64201.0e-11
2020-01-3169.620269.62021.2e-11
2020-01-3169.620269.62021.2e-11
2020-02-0171.543371.54331.3e-11
2020-02-0171.543371.54331.3e-11
2020-02-0273.407473.40741.5e-11
2020-02-0273.407473.40741.5e-11
2020-02-0375.209175.20911.6e-11
2020-02-0375.209175.20911.6e-11
2020-02-0476.945776.94571.7e-11
2020-02-0476.945776.94571.7e-11
2020-02-0578.615278.61521.8e-11
2020-02-0578.615278.61521.8e-11
2020-02-0680.216380.21631.8e-11
2020-02-0680.216380.21631.8e-11
2020-02-0781.748181.74811.9e-11
2020-02-0781.748181.74811.9e-11
2020-02-0883.210483.21041.9e-11
2020-02-0883.210483.21041.9e-11
2020-02-0984.603684.60362.0e-11
2020-02-0984.603684.60362.0e-11
2020-02-1085.928285.92822.0e-11
2020-02-1085.928285.92822.0e-11
2020-02-1187.185587.18552.0e-11
2020-02-1187.185587.18552.0e-11
2020-02-1288.376888.37682.0e-11
2020-02-1288.376888.37682.0e-11
2020-02-1389.503989.50392.0e-11
2020-02-1389.503989.50392.0e-11
2020-02-1490.568790.56872.0e-11
2020-02-1490.568790.56872.0e-11
2020-02-1591.573691.57361.9e-11
2020-02-1591.573691.57361.9e-11
2020-02-1692.520792.52071.9e-11
2020-02-1692.520792.52071.9e-11
2020-02-1793.412593.41251.8e-11
2020-02-1793.412593.41251.8e-11
2020-02-1894.251494.25141.8e-11
2020-02-1994.967094.96701.7e-11
2020-02-2095.707595.70751.7e-11
2020-02-2196.328696.32861.6e-11
2020-02-2296.980996.98091.6e-11
2020-02-2397.517997.51791.5e-11
2020-02-2498.091898.09181.4e-11
2020-02-2598.554598.55451.4e-11
2020-02-2699.059499.05941.3e-11
2020-02-2799.456899.45681.3e-11
2020-02-2899.901299.90121.2e-11
2020-02-29100.2417100.24171.2e-11
2020-03-01100.6336100.63361.1e-11
2020-03-02100.9246100.92461.0e-11
2020-03-03101.2709101.27099.8e-12
2020-03-04101.5192101.51929.4e-12
2020-03-05101.8263101.82638.8e-12
2020-03-06102.0378102.03788.4e-12
2020-03-07102.3110102.31107.9e-12
2020-03-08102.4909102.49097.5e-12
2020-03-09102.7352102.73527.0e-12
2020-03-10102.8880102.88806.6e-12
2020-03-11103.1076103.10766.3e-12
2020-03-12103.2373103.23735.8e-12

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit6.01 ms16.7 ms2.8× faster
Predict688 µs4.14 ms6.0× faster
Save model to JSON26 µs475 µs18× faster
Load model from JSON149 µs2.41 ms16× faster
Load and predict in a new process155 ms1.59 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": [
        "2020-01-20T00:00:00.000Z"
      ]
    },
    "changepointPriorScale": 0.05,
    "seasonalities": [],
    "events": [],
    "regressors": []
  },
  "pythonOptimizer": {
    "algorithm": "Auto",
    "maxIterations": 10000,
    "newtonFallback": true,
    "sigFigs": 12
  }
}

Inspired by Prophet from Meta. Not affiliated with Meta.