Skip to content

Shuffled rows ​

match ← All logistic growth benchmarks

The basic history in a scrambled order. Both libraries must sort it the same way.

Input ​

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

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-0114.187914.18792.2e-13
2020-01-0214.719914.71998.9e-15
2020-01-0315.268615.26862.1e-13
2020-01-0415.834015.83404.6e-13
2020-01-0516.416516.41657.1e-13
2020-01-0617.016217.01629.7e-13
2020-01-0717.633517.63351.3e-12
2020-01-0818.268418.26841.6e-12
2020-01-0918.921318.92131.9e-12
2020-01-1019.592119.59212.2e-12
2020-01-1120.281120.28112.5e-12
2020-01-1220.988320.98832.9e-12
2020-01-1321.713821.71383.3e-12
2020-01-1422.457722.45773.7e-12
2020-01-1523.219923.21994.1e-12
2020-01-1624.000524.00054.5e-12
2020-01-1724.799324.79934.9e-12
2020-01-1825.616325.61635.3e-12
2020-01-1926.451426.45145.8e-12
2020-01-2027.304327.30436.3e-12
2020-01-2128.174928.17496.8e-12
2020-01-2229.062929.06297.2e-12
2020-01-2329.968129.96817.7e-12
2020-01-2430.890030.89008.3e-12
2020-01-2531.828431.82848.8e-12
2020-01-2632.782732.78279.3e-12
2020-01-2733.752633.75269.9e-12
2020-01-2834.737634.73761.0e-11
2020-01-2935.737135.73711.1e-11
2020-01-3036.750436.75041.2e-11
2020-01-3137.777137.77711.2e-11
2020-02-0138.816538.81651.3e-11
2020-02-0239.867739.86771.3e-11
2020-02-0340.930240.93021.4e-11
2020-02-0442.003142.00311.4e-11
2020-02-0543.085743.08571.5e-11
2020-02-0644.177144.17711.5e-11
2020-02-0745.276445.27641.6e-11
2020-02-0846.382846.38281.6e-11
2020-02-0947.495847.49581.7e-11
2020-02-1048.614048.61401.8e-11
2020-02-1149.736549.73651.8e-11
2020-02-1250.862450.86241.9e-11
2020-02-1351.990751.99071.9e-11
2020-02-1453.120453.12041.9e-11
2020-02-1554.250754.25072.0e-11
2020-02-1655.380455.38042.0e-11
2020-02-1756.508756.50872.1e-11
2020-02-1857.634657.63462.1e-11
2020-02-1958.757158.75712.1e-11
2020-02-2059.875459.87542.2e-11
2020-02-2160.988560.98852.2e-11
2020-02-2262.095562.09552.2e-11
2020-02-2363.195663.19562.3e-11
2020-02-2464.288064.28802.3e-11
2020-02-2565.371865.37182.3e-11
2020-02-2666.446266.44622.3e-11
2020-02-2767.510567.51052.4e-11
2020-02-2868.564068.56402.4e-11
2020-02-2969.606069.60602.4e-11
2020-03-0170.635970.63592.4e-11
2020-03-0271.653071.65302.4e-11
2020-03-0372.656972.65692.4e-11
2020-03-0473.647073.64702.4e-11
2020-03-0574.622774.62272.4e-11
2020-03-0675.583875.58382.4e-11
2020-03-0776.529776.52972.4e-11
2020-03-0877.460177.46012.4e-11
2020-03-0978.374878.37482.4e-11
2020-03-1079.273479.27342.4e-11
2020-03-1180.155680.15562.3e-11
2020-03-1281.021481.02142.3e-11
2020-03-1381.870581.87052.3e-11
2020-03-1482.702882.70282.3e-11
2020-03-1583.518283.51822.3e-11
2020-03-1684.316684.31662.2e-11
2020-03-1785.098185.09812.2e-11
2020-03-1885.862685.86262.2e-11
2020-03-1986.610286.61022.2e-11
2020-03-2087.340987.34092.1e-11
2020-03-2188.054888.05482.1e-11
2020-03-2288.752088.75202.1e-11
2020-03-2389.432789.43272.1e-11
2020-03-2490.097090.09702.0e-11
2020-03-2590.745190.74512.0e-11
2020-03-2691.377291.37722.0e-11
2020-03-2791.993491.99341.9e-11
2020-03-2892.594192.59411.9e-11
2020-03-2993.179593.17951.9e-11
2020-03-3093.749793.74971.8e-11
2020-03-3194.305194.30511.8e-11
2020-04-0194.846094.84601.7e-11
2020-04-0295.372595.37251.7e-11
2020-04-0395.885195.88511.7e-11
2020-04-0496.383996.38391.6e-11
2020-04-0596.869496.86941.6e-11
2020-04-0697.341797.34171.6e-11
2020-04-0797.801297.80121.5e-11
2020-04-0898.248398.24831.5e-11
2020-04-0998.683198.68311.5e-11
2020-04-1099.106099.10601.4e-11
2020-04-1199.517499.51741.4e-11
2020-04-1299.917599.91751.4e-11
2020-04-13100.3066100.30661.3e-11
2020-04-14100.6851100.68511.3e-11
2020-04-15101.0532101.05321.3e-11
2020-04-16101.4112101.41121.2e-11
2020-04-17101.7594101.75941.2e-11
2020-04-18102.0981102.09811.2e-11
2020-04-19102.4276102.42761.1e-11
2020-04-20102.7482102.74821.1e-11
2020-04-21103.0602103.06021.1e-11
2020-04-22103.3637103.36371.0e-11
2020-04-23103.6592103.65921.0e-11
2020-04-24103.9468103.94689.8e-12
2020-04-25104.2267104.22679.6e-12
2020-04-26104.4993104.49939.3e-12
2020-04-27104.7648104.76489.0e-12
2020-04-28105.0234105.02348.7e-12
2020-04-29105.2754105.27548.5e-12

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit8.28 ms17.9 ms2.2× faster
Predict842 µs3.22 ms3.8× faster
Save model to JSON19 µs435 µs22× faster
Load model from JSON134 µs2.49 ms19× faster
Load and predict in a new process158 ms1.62 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-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.