We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a51bc96 commit 8661f8eCopy full SHA for 8661f8e
timecopilot/models/utils/forecaster.py
@@ -359,7 +359,7 @@ def detect_anomalies(
359
_n_windows = min(n_windows, max_possible_windows)
360
if _n_windows < 1:
361
# min series length should be 1 higher for Prophet than other models
362
- exp_min_series_length = h + 1 if isinstance(self, ProphetBase) else h + 2
+ exp_min_series_length = h + 2 if isinstance(self, ProphetBase) else h + 1
363
raise ValueError(
364
f"Cannot perform anomaly detection: series too short. "
365
f"Minimum series length required: {exp_min_series_length}, "
0 commit comments