Skip to content

Pinned at the ceiling ​

match ← All logistic growth benchmarks

Starts near zero and spends its last third at or above the ceiling.

Input ​

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

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-010.00200.00202.6e-12
2020-01-020.00260.00263.3e-12
2020-01-030.00340.00344.1e-12
2020-01-040.00440.00445.1e-12
2020-01-050.00560.00566.4e-12
2020-01-060.00720.00728.0e-12
2020-01-070.00930.00931.0e-11
2020-01-080.01200.01201.2e-11
2020-01-090.01550.01551.5e-11
2020-01-100.01990.01991.9e-11
2020-01-110.02570.02572.4e-11
2020-01-120.03310.03313.0e-11
2020-01-130.04260.04263.7e-11
2020-01-140.05490.05494.5e-11
2020-01-150.07070.07075.6e-11
2020-01-160.09110.09116.9e-11
2020-01-170.11740.11748.5e-11
2020-01-180.15120.15121.0e-10
2020-01-190.19470.19471.3e-10
2020-01-200.25080.25081.5e-10
2020-01-210.32290.32291.9e-10
2020-01-220.41560.41562.3e-10
2020-01-230.53490.53492.7e-10
2020-01-240.68820.68823.3e-10
2020-01-250.88500.88503.9e-10
2020-01-261.13741.13744.6e-10
2020-01-271.46091.46095.4e-10
2020-01-281.87461.87466.3e-10
2020-01-292.40272.40277.2e-10
2020-01-303.07503.07508.1e-10
2020-01-313.92823.92829.0e-10
2020-02-015.00625.00629.7e-10
2020-02-026.36106.36101.0e-9
2020-02-038.05248.05249.9e-10
2020-02-0410.146510.14659.1e-10
2020-02-0512.712412.71247.2e-10
2020-02-0615.817315.81734.0e-10
2020-02-0719.517619.51767.7e-11
2020-02-0823.848223.84827.2e-10
2020-02-0928.810828.81086.4e-10
2020-02-1034.362034.36205.0e-10
2020-02-1140.406740.40673.2e-10
2020-02-1246.799246.79921.1e-10
2020-02-1353.354653.35461.1e-10
2020-02-1459.868459.86843.3e-10
2020-02-1566.142166.14215.2e-10
2020-02-1672.006372.00636.8e-10
2020-02-1777.337277.33727.8e-10
2020-02-1882.062982.06298.3e-10
2020-02-1986.160786.16078.4e-10
2020-02-2089.647889.64788.1e-10
2020-02-2192.569192.56917.6e-10
2020-02-2294.985994.98597.0e-10
2020-02-2396.965896.96586.2e-10
2020-02-2498.576198.57615.5e-10
2020-02-2599.879799.87974.7e-10
2020-02-26100.9320100.93204.1e-10
2020-02-27101.7810101.78103.4e-10
2020-02-28102.4670102.46702.9e-10
2020-02-29103.0230103.02302.4e-10
2020-03-01103.4761103.47612.0e-10
2020-03-02103.8480103.84801.7e-10
2020-03-03104.1561104.15611.4e-10
2020-03-04104.4140104.41401.1e-10
2020-03-05104.6328104.63289.2e-11
2020-03-06104.8209104.82097.5e-11
2020-03-07104.9851104.98516.1e-11
2020-03-08105.1306105.13064.9e-11
2020-03-09105.2616105.26164.0e-11
2020-03-10105.3813105.38133.2e-11
2020-03-11105.4921105.49212.6e-11
2020-03-12105.5961105.59612.1e-11
2020-03-13105.6948105.69481.7e-11
2020-03-14105.7893105.78931.4e-11
2020-03-15105.8806105.88061.1e-11
2020-03-16105.9694105.96948.7e-12
2020-03-17106.0562106.05627.0e-12
2020-03-18106.1415106.14155.6e-12
2020-03-19106.2256106.22564.5e-12
2020-03-20106.3088106.30883.6e-12
2020-03-21106.3913106.39132.9e-12
2020-03-22106.4732106.47322.3e-12
2020-03-23106.5547106.55471.8e-12
2020-03-24106.6359106.63591.5e-12
2020-03-25106.7168106.71681.2e-12
2020-03-26106.7975106.79759.2e-13
2020-03-27106.8781106.87817.1e-13
2020-03-28106.9585106.95855.5e-13
2020-03-29107.0388107.03884.5e-13
2020-03-30107.1191107.11913.8e-13
2020-03-31107.1993107.19933.1e-13
2020-04-01107.2795107.27952.3e-13
2020-04-02107.3596107.35962.0e-13
2020-04-03107.4397107.43971.4e-13
2020-04-04107.5197107.51971.3e-13
2020-04-05107.5998107.59981.1e-13
2020-04-06107.6798107.67985.7e-14
2020-04-07107.7599107.75994.3e-14
2020-04-08107.8399107.83994.3e-14
2020-04-09107.9199107.91990
2020-04-10107.9999107.99991.4e-14
2020-04-11108.0800108.08002.8e-14
2020-04-12108.1600108.16001.4e-14
2020-04-13108.2400108.24002.8e-14
2020-04-14108.3200108.32000
2020-04-15108.4000108.40004.3e-14
2020-04-16108.4800108.48000
2020-04-17108.5600108.56001.4e-14
2020-04-18108.6400108.64001.4e-14
2020-04-19108.7200108.72000
2020-04-20108.8000108.80000
2020-04-21108.8800108.88000
2020-04-22108.9600108.96001.4e-14
2020-04-23109.0400109.04001.4e-14
2020-04-24109.1200109.12000
2020-04-25109.2000109.20001.4e-14
2020-04-26109.2800109.28002.8e-14
2020-04-27109.3600109.36000
2020-04-28109.4400109.44001.4e-14
2020-04-29109.5200109.52001.4e-14

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit10.9 ms20.3 ms1.9× faster
Predict825 µs3.10 ms3.8× faster
Save model to JSON21 µs482 µs23× faster
Load model from JSON142 µs2.29 ms16× faster
Load and predict in a new process160 ms1.53 s9.6× 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-02-08T00: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.