Skip to content

Commit

Permalink
Only detect zero flatliners after a full day of the zero flatliner pa…
Browse files Browse the repository at this point in the history
…ttern

Signed-off-by: Martijn Cazemier <[email protected]>
  • Loading branch information
MartijnCa authored Nov 8, 2023
1 parent 83ed9a3 commit 61b837c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstef/data_classes/prediction_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class PredictionJobDataClass(BaseModel):
"""Minimum fraction of data that should be available for making a regular forecast."""
minimal_table_length: int = 100
"""Minimum length (in rows) of the forecast input for making a regular forecast."""
flatliner_threshold_minutes: int = 360
flatliner_threshold_minutes: int = 1440
"""Number of minutes that the load has to be constant to detect a flatliner. """
depends_on: Optional[list[Union[int, str]]]
"""Link to another prediction job on which this prediction job might depend."""
Expand Down

0 comments on commit 61b837c

Please sign in to comment.