Skip to content

One hand-picked changepoint, minmax scaling ​

match ← All logistic growth benchmarks

96 daily rows rising toward a ceiling of about 100, with a little noise. Prediction covers the history and 24 more days. The rate may change on 8 February. Values are 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: 3.9e-11 (< 0.0001% of the input's range).

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-0117.989317.98931.3e-11
2020-01-0218.243118.24311.3e-11
2020-01-0318.513018.51301.4e-11
2020-01-0418.800118.80011.5e-11
2020-01-0519.105319.10531.5e-11
2020-01-0619.429519.42951.6e-11
2020-01-0719.773819.77381.7e-11
2020-01-0820.139320.13931.8e-11
2020-01-0920.526920.52691.9e-11
2020-01-1020.937920.93791.9e-11
2020-01-1121.373421.37342.0e-11
2020-01-1221.834521.83452.1e-11
2020-01-1322.322322.32232.2e-11
2020-01-1422.838122.83812.3e-11
2020-01-1523.383023.38302.4e-11
2020-01-1623.958223.95822.5e-11
2020-01-1724.564824.56482.6e-11
2020-01-1825.204025.20402.7e-11
2020-01-1925.876925.87692.8e-11
2020-01-2026.584526.58452.9e-11
2020-01-2127.327927.32793.0e-11
2020-01-2228.107928.10793.0e-11
2020-01-2328.925428.92543.1e-11
2020-01-2429.781129.78113.2e-11
2020-01-2530.675830.67583.3e-11
2020-01-2631.609931.60993.4e-11
2020-01-2732.583832.58383.5e-11
2020-01-2833.597733.59773.5e-11
2020-01-2934.651734.65173.6e-11
2020-01-3035.745735.74573.7e-11
2020-01-3136.879236.87923.7e-11
2020-02-0138.051938.05193.8e-11
2020-02-0239.262839.26283.8e-11
2020-02-0340.511140.51113.8e-11
2020-02-0441.795541.79553.9e-11
2020-02-0543.114543.11453.9e-11
2020-02-0644.466544.46653.9e-11
2020-02-0745.849645.84963.9e-11
2020-02-0847.261647.26163.8e-11
2020-02-0948.251648.25163.8e-11
2020-02-1049.253749.25373.7e-11
2020-02-1150.267050.26703.7e-11
2020-02-1251.290851.29083.6e-11
2020-02-1352.324152.32413.5e-11
2020-02-1453.365953.36593.5e-11
2020-02-1554.415354.41533.4e-11
2020-02-1655.471155.47113.3e-11
2020-02-1756.532456.53243.2e-11
2020-02-1857.598257.59823.1e-11
2020-02-1958.667358.66733.0e-11
2020-02-2059.738759.73872.9e-11
2020-02-2160.811260.81122.8e-11
2020-02-2261.883961.88392.7e-11
2020-02-2362.955562.95552.6e-11
2020-02-2464.025064.02502.5e-11
2020-02-2565.091465.09142.4e-11
2020-02-2666.153666.15362.2e-11
2020-02-2767.210667.21062.1e-11
2020-02-2868.261368.26132.0e-11
2020-02-2969.304969.30491.9e-11
2020-03-0170.340270.34021.8e-11
2020-03-0271.366671.36661.7e-11
2020-03-0372.383072.38301.5e-11
2020-03-0473.388773.38871.4e-11
2020-03-0574.382874.38281.3e-11
2020-03-0675.364775.36471.2e-11
2020-03-0776.333676.33361.1e-11
2020-03-0877.288977.28899.8e-12
2020-03-0978.230178.23018.8e-12
2020-03-1079.156579.15657.7e-12
2020-03-1180.067680.06766.7e-12
2020-03-1280.963280.96325.8e-12
2020-03-1381.842681.84264.8e-12
2020-03-1482.705682.70563.9e-12
2020-03-1583.552083.55203.0e-12
2020-03-1684.381484.38142.2e-12
2020-03-1785.193785.19371.4e-12
2020-03-1885.988685.98866.3e-13
2020-03-1986.766286.76621.1e-13
2020-03-2087.526287.52627.7e-13
2020-03-2188.268888.26881.4e-12
2020-03-2288.993988.99392.1e-12
2020-03-2389.701589.70152.6e-12
2020-03-2490.391790.39173.2e-12
2020-03-2591.064691.06463.7e-12
2020-03-2691.720491.72044.2e-12
2020-03-2792.359292.35924.6e-12
2020-03-2892.981292.98125.0e-12
2020-03-2993.586693.58665.4e-12
2020-03-3094.175794.17575.8e-12
2020-03-3194.748694.74866.1e-12
2020-04-0195.305895.30586.4e-12
2020-04-0295.847495.84746.6e-12
2020-04-0396.373796.37376.8e-12
2020-04-0496.885196.88517.0e-12
2020-04-0597.381997.38197.2e-12
2020-04-0697.864497.86447.4e-12
2020-04-0798.332998.33297.5e-12
2020-04-0898.787798.78777.6e-12
2020-04-0999.229399.22937.7e-12
2020-04-1099.657999.65797.8e-12
2020-04-11100.0739100.07397.9e-12
2020-04-12100.4777100.47777.9e-12
2020-04-13100.8695100.86957.9e-12
2020-04-14101.2497101.24977.9e-12
2020-04-15101.6188101.61887.9e-12
2020-04-16101.9769101.97697.9e-12
2020-04-17102.3245102.32457.9e-12
2020-04-18102.6618102.66187.8e-12
2020-04-19102.9893102.98937.8e-12
2020-04-20103.3072103.30727.7e-12
2020-04-21103.6158103.61587.6e-12
2020-04-22103.9154103.91547.6e-12
2020-04-23104.2064104.20647.5e-12
2020-04-24104.4891104.48917.4e-12
2020-04-25104.7637104.76377.3e-12
2020-04-26105.0305105.03057.2e-12
2020-04-27105.2899105.28997.0e-12
2020-04-28105.5420105.54207.0e-12
2020-04-29105.7871105.78716.8e-12

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit16.8 ms24.2 ms1.4× faster
Predict724 µs2.87 ms4.0× faster
Save model to JSON28 µs432 µs15× faster
Load model from JSON141 µs2.17 ms15× faster
Load and predict in a new process157 ms1.58 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": "minmax",
    "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.