snowflake.ml.monitoring.entities.model_monitor_config.ModelMonitorConfig

class snowflake.ml.monitoring.entities.model_monitor_config.ModelMonitorConfig(model_version: ModelVersion, model_function_name: str, background_compute_warehouse_name: str, refresh_interval: str = '1 hour', aggregation_window: str = '1 day')

Bases: object

Configuration for the Model Monitor.

Attributes

aggregation_window: str = '1 day'

Window for aggregating monitoring data.

refresh_interval: str = '1 hour'

Interval at which to refresh the monitoring data.

model_version: ModelVersion

Model version to monitor.

model_function_name: str

Function name in the model to monitor.

background_compute_warehouse_name: str

Name of the warehouse to use for background compute.