Skip to content

No changepoints, loose prior, minmax scaling ​

match ← All logistic growth benchmarks

The same loose-prior fit, 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: 1.4e-11 (< 0.0001% of the input's range).

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-0115.110315.11032.0e-12
2020-01-0215.157715.15772.1e-12
2020-01-0315.207615.20762.2e-12
2020-01-0415.260215.26022.3e-12
2020-01-0515.315415.31542.4e-12
2020-01-0615.373615.37362.5e-12
2020-01-0715.434815.43482.6e-12
2020-01-0815.499315.49932.7e-12
2020-01-0915.567115.56712.8e-12
2020-01-1015.638415.63842.9e-12
2020-01-1115.713415.71343.0e-12
2020-01-1215.792415.79243.2e-12
2020-01-1315.875415.87543.3e-12
2020-01-1415.962715.96273.4e-12
2020-01-1516.054616.05463.6e-12
2020-01-1616.151116.15113.7e-12
2020-01-1716.252716.25273.9e-12
2020-01-1816.359416.35944.0e-12
2020-01-1916.471616.47164.2e-12
2020-01-2016.589616.58964.3e-12
2020-01-2116.713516.71354.5e-12
2020-01-2216.843716.84374.7e-12
2020-01-2316.980516.98054.8e-12
2020-01-2417.124217.12425.0e-12
2020-01-2517.275117.27515.2e-12
2020-01-2617.433617.43365.4e-12
2020-01-2717.600017.60005.6e-12
2020-01-2817.774617.77465.8e-12
2020-01-2917.957817.95786.0e-12
2020-01-3018.150118.15016.2e-12
2020-01-3118.351818.35186.4e-12
2020-02-0118.563418.56346.7e-12
2020-02-0218.785218.78526.9e-12
2020-02-0319.017719.01777.1e-12
2020-02-0419.261419.26147.4e-12
2020-02-0519.516619.51667.6e-12
2020-02-0619.784019.78407.8e-12
2020-02-0720.063920.06398.1e-12
2020-02-0820.356920.35698.3e-12
2020-02-0920.663620.66368.6e-12
2020-02-1020.984320.98438.8e-12
2020-02-1121.319621.31969.1e-12
2020-02-1221.670121.67019.4e-12
2020-02-1322.036422.03649.6e-12
2020-02-1422.418922.41899.9e-12
2020-02-1522.818222.81821.0e-11
2020-02-1623.234823.23481.0e-11
2020-02-1723.669423.66941.1e-11
2020-02-1824.122424.12241.1e-11
2020-02-1924.594524.59451.1e-11
2020-02-2025.086125.08611.1e-11
2020-02-2125.597725.59771.2e-11
2020-02-2226.130026.13001.2e-11
2020-02-2326.683326.68331.2e-11
2020-02-2427.258227.25821.2e-11
2020-02-2527.855227.85521.3e-11
2020-02-2628.474628.47461.3e-11
2020-02-2729.116929.11691.3e-11
2020-02-2829.782429.78241.3e-11
2020-02-2930.471530.47151.3e-11
2020-03-0131.184531.18451.3e-11
2020-03-0231.921631.92161.4e-11
2020-03-0332.683032.68301.4e-11
2020-03-0433.468933.46891.4e-11
2020-03-0534.279334.27931.4e-11
2020-03-0635.114335.11431.4e-11
2020-03-0735.973835.97381.4e-11
2020-03-0836.857836.85781.4e-11
2020-03-0937.765937.76591.4e-11
2020-03-1038.698138.69811.4e-11
2020-03-1139.653939.65391.4e-11
2020-03-1240.633040.63301.4e-11
2020-03-1341.634841.63481.4e-11
2020-03-1442.658742.65871.4e-11
2020-03-1543.704143.70411.3e-11
2020-03-1644.770244.77021.3e-11
2020-03-1745.856245.85621.3e-11
2020-03-1846.961246.96121.3e-11
2020-03-1948.084248.08421.2e-11
2020-03-2049.224149.22411.2e-11
2020-03-2150.379750.37971.2e-11
2020-03-2251.549851.54981.1e-11
2020-03-2352.733152.73311.1e-11
2020-03-2453.928353.92831.1e-11
2020-03-2555.134055.13401.0e-11
2020-03-2656.348756.34879.7e-12
2020-03-2757.570957.57099.3e-12
2020-03-2858.799158.79918.8e-12
2020-03-2960.031760.03178.3e-12
2020-03-3061.267261.26727.8e-12
2020-03-3162.503962.50397.3e-12
2020-04-0163.740363.74036.8e-12
2020-04-0264.974964.97496.3e-12
2020-04-0366.205966.20595.7e-12
2020-04-0467.432067.43205.2e-12
2020-04-0568.651568.65154.6e-12
2020-04-0669.863169.86314.1e-12
2020-04-0771.065371.06533.6e-12
2020-04-0872.256772.25673.1e-12
2020-04-0973.436073.43602.5e-12
2020-04-1074.602074.60202.0e-12
2020-04-1175.753575.75351.5e-12
2020-04-1276.889476.88941.0e-12
2020-04-1378.008678.00866.0e-13
2020-04-1479.110179.11011.4e-13
2020-04-1580.193280.19323.1e-13
2020-04-1681.257181.25717.4e-13
2020-04-1782.300982.30091.1e-12
2020-04-1883.324183.32411.5e-12
2020-04-1984.326284.32621.9e-12
2020-04-2085.306685.30662.2e-12
2020-04-2186.265086.26502.6e-12
2020-04-2287.201187.20112.8e-12
2020-04-2388.114688.11463.1e-12
2020-04-2489.005389.00533.4e-12
2020-04-2589.873389.87333.6e-12
2020-04-2690.718390.71833.9e-12
2020-04-2791.540591.54054.1e-12
2020-04-2892.340092.34004.3e-12
2020-04-2993.116893.11684.4e-12

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit15.2 ms20.5 ms1.3× faster
Predict727 µs2.93 ms4.0× faster
Save model to JSON24 µs449 µs19× faster
Load model from JSON169 µs2.15 ms13× faster
Load and predict in a new process154 ms1.69 s11× 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": "explicit",
      "timestamps": []
    },
    "changepointPriorScale": 10,
    "seasonalities": [],
    "events": [],
    "regressors": []
  },
  "pythonOptimizer": {
    "algorithm": "Auto",
    "maxIterations": 10000,
    "newtonFallback": true,
    "sigFigs": 12
  }
}

Inspired by Prophet from Meta. Not affiliated with Meta.