Skip to content

Falling curve ​

match ← All logistic growth benchmarks

Values fall from about 86 to 11 under a fixed ceiling.

Input ​

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

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-0185.817785.81773.5e-11
2020-01-0285.365685.36563.5e-11
2020-01-0384.896984.89693.6e-11
2020-01-0484.411484.41143.6e-11
2020-01-0583.908983.90893.6e-11
2020-01-0683.389183.38913.7e-11
2020-01-0782.851782.85173.7e-11
2020-01-0882.296682.29663.7e-11
2020-01-0981.723781.72373.8e-11
2020-01-1081.132781.13273.8e-11
2020-01-1180.523680.52363.8e-11
2020-01-1279.896279.89623.8e-11
2020-01-1379.250579.25053.9e-11
2020-01-1478.586578.58653.9e-11
2020-01-1577.904077.90403.9e-11
2020-01-1677.203377.20333.9e-11
2020-01-1776.484276.48423.9e-11
2020-01-1875.747075.74703.9e-11
2020-01-1974.991774.99173.9e-11
2020-01-2074.218574.21853.8e-11
2020-01-2173.427673.42763.8e-11
2020-01-2272.619372.61933.8e-11
2020-01-2371.793871.79383.8e-11
2020-01-2470.951670.95163.7e-11
2020-01-2570.092970.09293.7e-11
2020-01-2669.218169.21813.6e-11
2020-01-2768.327968.32793.6e-11
2020-01-2867.422567.42253.5e-11
2020-01-2966.502766.50273.4e-11
2020-01-3065.568965.56893.4e-11
2020-01-3164.621864.62183.3e-11
2020-02-0163.662163.66213.2e-11
2020-02-0262.690462.69043.1e-11
2020-02-0361.707461.70743.0e-11
2020-02-0460.714160.71413.0e-11
2020-02-0559.711159.71112.9e-11
2020-02-0658.699358.69932.8e-11
2020-02-0757.679557.67952.6e-11
2020-02-0856.652656.65262.5e-11
2020-02-0955.620055.62002.4e-11
2020-02-1054.582154.58212.3e-11
2020-02-1153.539853.53982.2e-11
2020-02-1252.494352.49432.1e-11
2020-02-1351.446351.44631.9e-11
2020-02-1450.396950.39691.8e-11
2020-02-1549.347049.34701.7e-11
2020-02-1648.297548.29751.6e-11
2020-02-1747.249647.24961.4e-11
2020-02-1846.204046.20401.3e-11
2020-02-1945.161845.16181.2e-11
2020-02-2044.123844.12381.0e-11
2020-02-2143.091043.09109.2e-12
2020-02-2242.064342.06437.9e-12
2020-02-2341.044541.04456.6e-12
2020-02-2440.032540.03255.3e-12
2020-02-2539.029039.02904.1e-12
2020-02-2638.034938.03492.9e-12
2020-02-2737.050837.05081.7e-12
2020-02-2836.077636.07765.2e-13
2020-02-2935.115935.11596.4e-13
2020-03-0134.166334.16631.8e-12
2020-03-0233.229433.22942.8e-12
2020-03-0332.305732.30573.9e-12
2020-03-0431.395931.39594.9e-12
2020-03-0530.500330.50035.9e-12
2020-03-0629.619529.61956.8e-12
2020-03-0728.753828.75387.7e-12
2020-03-0827.903527.90358.5e-12
2020-03-0927.069027.06909.4e-12
2020-03-1026.250626.25061.0e-11
2020-03-1125.448525.44851.1e-11
2020-03-1224.662924.66291.2e-11
2020-03-1323.894023.89401.2e-11
2020-03-1423.141823.14181.3e-11
2020-03-1522.406522.40651.3e-11
2020-03-1621.688221.68821.4e-11
2020-03-1720.986820.98681.4e-11
2020-03-1820.302320.30231.5e-11
2020-03-1919.634819.63481.5e-11
2020-03-2018.984218.98421.6e-11
2020-03-2118.350418.35041.6e-11
2020-03-2217.733217.73321.6e-11
2020-03-2317.132517.13251.6e-11
2020-03-2416.548216.54821.7e-11
2020-03-2515.980215.98021.7e-11
2020-03-2615.428115.42811.7e-11
2020-03-2714.891814.89181.7e-11
2020-03-2814.371214.37121.7e-11
2020-03-2913.865813.86581.7e-11
2020-03-3013.375613.37561.7e-11
2020-03-3112.900112.90011.7e-11
2020-04-0112.439312.43931.7e-11
2020-04-0211.992711.99271.7e-11
2020-04-0311.560111.56011.7e-11
2020-04-0411.141211.14121.7e-11
2020-04-0510.735710.73571.7e-11
2020-04-0610.343310.34331.7e-11
2020-04-079.96379.96371.7e-11
2020-04-089.59669.59661.7e-11
2020-04-099.24179.24171.7e-11
2020-04-108.89878.89871.7e-11
2020-04-118.56738.56731.6e-11
2020-04-128.24718.24711.6e-11
2020-04-137.93797.93791.6e-11
2020-04-147.63947.63941.6e-11
2020-04-157.35137.35131.6e-11
2020-04-167.07327.07321.5e-11
2020-04-176.80496.80491.5e-11
2020-04-186.54616.54611.5e-11
2020-04-196.29656.29651.5e-11
2020-04-206.05586.05581.4e-11
2020-04-215.82385.82381.4e-11
2020-04-225.60015.60011.4e-11
2020-04-235.38465.38461.4e-11
2020-04-245.17705.17701.3e-11
2020-04-254.97694.97691.3e-11
2020-04-264.78424.78421.3e-11
2020-04-274.59874.59871.3e-11
2020-04-284.42004.42001.2e-11
2020-04-294.24794.24791.2e-11

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit8.25 ms16.2 ms2.0× faster
Predict846 µs3.71 ms4.4× faster
Save model to JSON40 µs493 µs12× faster
Load model from JSON161 µs2.68 ms17× faster
Load and predict in a new process177 ms1.70 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.