Every row on the same date, same value
match ← All flat growth benchmarksThree identical rows on one timestamp.
Input
benchmark/inputs/v1/training-zero-span-constant.json: 3 history rows and 2 forecast rows.
Output
Largest difference: 0.
Every forecast row from both libraries.
| Date | Effect Prophet | Python Prophet | Difference |
|---|---|---|---|
| 2020-01-01 | 2.0000 | 2.0000 | 0 |
| 2020-01-02 | 2.0000 | 2.0000 | 0 |
Timing
Median of all measured repetitions.
| Step | Effect Prophet | Python Prophet | Effect Prophet is |
|---|---|---|---|
| Fit | 496 µs | 2.87 ms | 5.8× faster |
| Predict | 153 µs | 2.65 ms | 17× faster |
| Save model to JSON | 20 µs | 328 µs | 17× faster |
| Load model from JSON | 143 µs | 1.88 ms | 13× faster |
| Load and predict in a new process | 160 ms | 1.43 s | 9.0× faster |
Settings
The case declaration both libraries ran.
json
{
"kind": "map",
"comparison": {
"kind": "equivalent-objective",
"evidenceId": "training-row-map-v1"
},
"configuration": {
"growth": "flat",
"scaling": "absmax",
"seasonalityMode": "additive",
"holidaysMode": "additive",
"changepoints": {
"mode": "explicit",
"timestamps": []
},
"changepointPriorScale": 0.05,
"seasonalities": [],
"events": [],
"regressors": []
},
"pythonOptimizer": {
"algorithm": "Auto",
"maxIterations": 10000,
"newtonFallback": true,
"sigFigs": 12
}
}