Persistence#

class Persistence(*, aggregate_reference_timesteps: bool = False, aggregation_time_window: str = None, df: DataFrame = None)[source]#

Model for generating a synthetic persistence forecast timeseries.

This model generates a synthetic persistence forecast timeseries based on an input timeseries DataFrame. It assigns the values from the input timeseries to the forecast timeseries based on t-0 time, without any modifications or aggregations.

Note

This class is not yet implemented.

Methods

Attributes

model_computed_fields

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_extra

Get extra fields set during validation.

model_fields

model_fields_set

Returns the set of fields that have been explicitly set on this model instance.

df

aggregate_reference_timesteps

aggregation_time_window