Skip to content

hsfs.core.monitoring_window_config #

MonitoringWindowConfig #

Defines the slice of feature data on which statistics are computed.

A window is either a rolling-time or all-time range over the feature data, or a reference to a specific training dataset version. The detection and reference windows of a FeatureMonitoringConfig are both expressed as instances of this class.

id property #

id: int | None

Id of the window configuration.

row_percentage property writable #

row_percentage: float

The percentage of rows to fetch and compute the statistics on. Only used for windows of type ROLLING_TIME and ALL_TIME.

time_offset property #

time_offset: str | None

The time offset from the current time to the start of the time window. Only used for windows of type ROLLING_TIME.

training_dataset_version property writable #

training_dataset_version: int | None

The version of the training dataset to use as reference. Only used for windows of type TRAINING_DATASET.

window_config_type property writable #

window_config_type: WindowConfigType

Type of the window. It can be one of ALL_TIME, ROLLING_TIME, TRAINING_DATASET.

window_length property writable #

window_length: str | None

The length of the time window. Only used for windows of type ROLLING_TIME.

WindowConfigType #

Bases: str, Enum

Type of the window.

It can be one of "ALL_TIME", "ROLLING_TIME", or "TRAINING_DATASET".