Skip to content

Values outside the bounds ​

match ← All logistic growth benchmarks

Noisy targets that go below zero and above the ceiling.

Input ​

benchmark/inputs/v2/logistic-out-of-bounds-96.json: 96 history rows and 120 forecast rows.

Output ​

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

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-0112.727712.72773.8e-8
2020-01-0213.244713.24473.9e-8
2020-01-0313.779413.77943.9e-8
2020-01-0414.332414.33243.9e-8
2020-01-0514.903814.90384.0e-8
2020-01-0615.494115.49414.0e-8
2020-01-0716.103516.10354.0e-8
2020-01-0816.732416.73244.0e-8
2020-01-0917.380917.38094.0e-8
2020-01-1018.049418.04944.0e-8
2020-01-1118.738118.73814.0e-8
2020-01-1219.447019.44704.0e-8
2020-01-1320.176520.17654.0e-8
2020-01-1420.926720.92673.9e-8
2020-01-1521.697521.69753.9e-8
2020-01-1622.489122.48913.9e-8
2020-01-1723.301423.30143.8e-8
2020-01-1824.134524.13453.8e-8
2020-01-1924.988324.98833.7e-8
2020-01-2025.862625.86263.6e-8
2020-01-2126.757226.75723.5e-8
2020-01-2227.672027.67203.4e-8
2020-01-2328.606728.60673.3e-8
2020-01-2429.560829.56083.2e-8
2020-01-2530.534230.53423.1e-8
2020-01-2631.526331.52633.0e-8
2020-01-2732.536632.53662.9e-8
2020-01-2833.564633.56462.7e-8
2020-01-2934.609834.60982.6e-8
2020-01-3035.671435.67142.4e-8
2020-01-3136.748836.74882.3e-8
2020-02-0137.841137.84112.1e-8
2020-02-0238.947738.94771.9e-8
2020-02-0340.067740.06771.7e-8
2020-02-0441.200141.20011.5e-8
2020-02-0542.344142.34411.4e-8
2020-02-0643.498643.49861.2e-8
2020-02-0744.662644.66269.5e-9
2020-02-0845.835245.83527.5e-9
2020-02-0947.015147.01515.5e-9
2020-02-1048.201448.20143.5e-9
2020-02-1149.392949.39291.5e-9
2020-02-1250.588350.58835.7e-10
2020-02-1351.786751.78672.6e-9
2020-02-1452.986852.98684.7e-9
2020-02-1554.187554.18756.7e-9
2020-02-1655.387655.38768.7e-9
2020-02-1756.585956.58591.1e-8
2020-02-1857.781357.78131.3e-8
2020-02-1958.972658.97261.5e-8
2020-02-2060.158860.15881.7e-8
2020-02-2161.338761.33871.8e-8
2020-02-2262.511462.51142.0e-8
2020-02-2363.675763.67572.2e-8
2020-02-2464.830664.83062.4e-8
2020-02-2565.975365.97532.5e-8
2020-02-2667.108867.10882.7e-8
2020-02-2768.230168.23012.9e-8
2020-02-2869.338669.33863.0e-8
2020-02-2970.433470.43343.1e-8
2020-03-0171.513871.51383.3e-8
2020-03-0272.579072.57903.4e-8
2020-03-0373.628673.62863.5e-8
2020-03-0474.661974.66193.6e-8
2020-03-0575.678375.67833.7e-8
2020-03-0676.677476.67743.8e-8
2020-03-0777.658977.65893.9e-8
2020-03-0878.622378.62234.0e-8
2020-03-0979.567279.56724.0e-8
2020-03-1080.493680.49364.1e-8
2020-03-1181.401081.40104.2e-8
2020-03-1282.289582.28954.2e-8
2020-03-1383.158783.15874.2e-8
2020-03-1484.008884.00884.3e-8
2020-03-1584.839584.83954.3e-8
2020-03-1685.650985.65094.3e-8
2020-03-1786.443186.44314.3e-8
2020-03-1887.216287.21624.3e-8
2020-03-1987.970187.97014.3e-8
2020-03-2088.705288.70524.3e-8
2020-03-2189.421589.42154.3e-8
2020-03-2290.119290.11924.3e-8
2020-03-2390.798690.79864.3e-8
2020-03-2491.459891.45994.2e-8
2020-03-2592.103392.10334.2e-8
2020-03-2692.729292.72924.2e-8
2020-03-2793.337893.33784.1e-8
2020-03-2893.929493.92944.1e-8
2020-03-2994.504494.50444.0e-8
2020-03-3095.063295.06324.0e-8
2020-03-3195.606095.60603.9e-8
2020-04-0196.133296.13323.9e-8
2020-04-0296.645196.64513.8e-8
2020-04-0397.142297.14223.8e-8
2020-04-0497.624897.62483.7e-8
2020-04-0598.093298.09323.6e-8
2020-04-0698.547998.54793.6e-8
2020-04-0798.989298.98923.5e-8
2020-04-0899.417499.41743.4e-8
2020-04-0999.833099.83303.4e-8
2020-04-10100.2363100.23633.3e-8
2020-04-11100.6277100.62773.2e-8
2020-04-12101.0076101.00763.2e-8
2020-04-13101.3762101.37623.1e-8
2020-04-14101.7340101.73403.0e-8
2020-04-15102.0812102.08123.0e-8
2020-04-16102.4183102.41832.9e-8
2020-04-17102.7456102.74562.8e-8
2020-04-18103.0633103.06332.8e-8
2020-04-19103.3718103.37182.7e-8
2020-04-20103.6715103.67152.6e-8
2020-04-21103.9626103.96262.6e-8
2020-04-22104.2454104.24542.5e-8
2020-04-23104.5202104.52022.4e-8
2020-04-24104.7873104.78732.4e-8
2020-04-25105.0470105.04702.3e-8
2020-04-26105.2995105.29952.2e-8
2020-04-27105.5452105.54522.2e-8
2020-04-28105.7842105.78422.1e-8
2020-04-29106.0168106.01682.1e-8

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit9.04 ms16.6 ms1.8× faster
Predict799 µs3.01 ms3.8× faster
Save model to JSON30 µs470 µs16× faster
Load model from JSON149 µs2.26 ms15× faster
Load and predict in a new process156 ms1.46 s9.4× 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.