Skip to content

Perfectly constant ​

match ← All logistic growth benchmarks

Every value is exactly 50, halfway to the ceiling.

Input ​

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

Output ​

Largest difference: 7.9e-12.

Every forecast row from both libraries.

DateEffect ProphetPython ProphetDifference
2020-01-0149.995249.99521.2e-12
2020-01-0249.996149.99611.2e-12
2020-01-0349.997049.99701.3e-12
2020-01-0449.997849.99781.3e-12
2020-01-0549.998649.99861.3e-12
2020-01-0649.999349.99931.4e-12
2020-01-0749.999949.99991.4e-12
2020-01-0850.000550.00051.5e-12
2020-01-0950.001050.00101.5e-12
2020-01-1050.001550.00151.5e-12
2020-01-1150.001950.00191.6e-12
2020-01-1250.002250.00221.6e-12
2020-01-1350.002550.00251.7e-12
2020-01-1450.002750.00271.7e-12
2020-01-1550.002850.00281.7e-12
2020-01-1650.002950.00291.8e-12
2020-01-1750.002950.00291.8e-12
2020-01-1850.002950.00291.8e-12
2020-01-1950.002750.00271.9e-12
2020-01-2050.002650.00261.9e-12
2020-01-2150.002450.00242.0e-12
2020-01-2250.002150.00212.0e-12
2020-01-2350.001750.00172.1e-12
2020-01-2450.001350.00132.1e-12
2020-01-2550.000850.00082.1e-12
2020-01-2650.000350.00032.2e-12
2020-01-2749.999749.99972.2e-12
2020-01-2849.999049.99902.3e-12
2020-01-2949.998349.99832.3e-12
2020-01-3049.997549.99752.3e-12
2020-01-3149.996749.99672.4e-12
2020-02-0149.995849.99582.4e-12
2020-02-0249.994849.99482.5e-12
2020-02-0349.993849.99382.5e-12
2020-02-0449.992749.99272.5e-12
2020-02-0549.991649.99162.6e-12
2020-02-0649.990449.99042.6e-12
2020-02-0749.989149.98912.6e-12
2020-02-0849.987849.98782.7e-12
2020-02-0949.989349.98932.8e-12
2020-02-1049.990749.99072.8e-12
2020-02-1149.992149.99212.9e-12
2020-02-1249.993449.99342.9e-12
2020-02-1349.994749.99473.0e-12
2020-02-1449.995949.99593.1e-12
2020-02-1549.997049.99703.1e-12
2020-02-1649.998149.99813.2e-12
2020-02-1749.999249.99923.2e-12
2020-02-1850.000250.00023.3e-12
2020-02-1950.001150.00113.4e-12
2020-02-2050.002050.00203.4e-12
2020-02-2150.002850.00283.5e-12
2020-02-2250.003550.00353.5e-12
2020-02-2350.004350.00433.6e-12
2020-02-2450.004950.00493.7e-12
2020-02-2550.005550.00553.7e-12
2020-02-2650.006050.00603.8e-12
2020-02-2750.006550.00653.9e-12
2020-02-2850.007050.00703.9e-12
2020-02-2950.007350.00734.0e-12
2020-03-0150.007750.00774.1e-12
2020-03-0250.007950.00794.1e-12
2020-03-0350.008150.00814.2e-12
2020-03-0450.008350.00834.2e-12
2020-03-0550.008450.00844.3e-12
2020-03-0650.008450.00844.4e-12
2020-03-0750.008450.00844.4e-12
2020-03-0850.008350.00834.5e-12
2020-03-0950.008250.00824.6e-12
2020-03-1050.008050.00804.6e-12
2020-03-1150.007850.00784.7e-12
2020-03-1250.007550.00754.7e-12
2020-03-1350.007250.00724.8e-12
2020-03-1450.006850.00684.9e-12
2020-03-1550.006350.00634.9e-12
2020-03-1650.005850.00585.0e-12
2020-03-1750.005350.00535.1e-12
2020-03-1850.004650.00465.1e-12
2020-03-1950.004050.00405.2e-12
2020-03-2050.003350.00335.3e-12
2020-03-2150.002550.00255.3e-12
2020-03-2250.001650.00165.4e-12
2020-03-2350.000850.00085.5e-12
2020-03-2449.999849.99985.5e-12
2020-03-2549.998849.99885.6e-12
2020-03-2649.997849.99785.7e-12
2020-03-2749.996749.99675.7e-12
2020-03-2849.995549.99555.8e-12
2020-03-2949.994349.99435.8e-12
2020-03-3049.993049.99305.9e-12
2020-03-3149.991749.99176.0e-12
2020-04-0149.990349.99036.0e-12
2020-04-0249.988949.98896.1e-12
2020-04-0349.987449.98746.2e-12
2020-04-0449.985949.98596.2e-12
2020-04-0549.984349.98436.3e-12
2020-04-0649.982649.98266.4e-12
2020-04-0749.981049.98106.4e-12
2020-04-0849.979249.97926.5e-12
2020-04-0949.977449.97746.6e-12
2020-04-1049.975549.97556.6e-12
2020-04-1149.973649.97366.7e-12
2020-04-1249.971749.97176.8e-12
2020-04-1349.969649.96966.8e-12
2020-04-1449.967649.96766.9e-12
2020-04-1549.965449.96547.0e-12
2020-04-1649.963349.96337.0e-12
2020-04-1749.961049.96107.1e-12
2020-04-1849.958849.95887.2e-12
2020-04-1949.956449.95647.2e-12
2020-04-2049.954049.95407.3e-12
2020-04-2149.951649.95167.4e-12
2020-04-2249.949149.94917.4e-12
2020-04-2349.946549.94657.5e-12
2020-04-2449.943949.94397.6e-12
2020-04-2549.941349.94137.6e-12
2020-04-2649.938649.93867.7e-12
2020-04-2749.935849.93587.8e-12
2020-04-2849.933049.93307.8e-12
2020-04-2949.930149.93017.9e-12

Timing ​

Median of all measured repetitions.

StepEffect ProphetPython ProphetEffect Prophet is
Fit17.8 ms26.7 ms1.5× faster
Predict733 µs2.95 ms4.0× faster
Save model to JSON24 µs788 µs32× faster
Load model from JSON148 µs2.38 ms16× faster
Load and predict in a new process156 ms1.52 s9.8× 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.