snowflake.ml.monitoring.entities.model_monitor_config.ModelMonitorSourceConfig

class snowflake.ml.monitoring.entities.model_monitor_config.ModelMonitorSourceConfig(source: str, timestamp_column: str, id_columns: List[str], prediction_score_columns: Optional[List[str]] = None, prediction_class_columns: Optional[List[str]] = None, actual_score_columns: Optional[List[str]] = None, actual_class_columns: Optional[List[str]] = None, baseline: Optional[str] = None)

Bases: object

Configuration for the source of data to be monitored.

Attributes

actual_class_columns: Optional[List[str]] = None

List of columns in the source containing actual classes for classification models.

actual_score_columns: Optional[List[str]] = None

List of columns in the source containing actual scores.

baseline: Optional[str] = None

Name of table containing the baseline data.

prediction_class_columns: Optional[List[str]] = None

List of columns in the source containing prediction classes for classification models.

prediction_score_columns: Optional[List[str]] = None

List of columns in the source containing prediction scores. Can be regression scores for regression models and probability scores for classification models.

source: str

Name of table or view containing monitoring data.

timestamp_column: str

Name of column in the source containing timestamp.

id_columns: List[str]

List of columns in the source containing unique identifiers.