DataQualitySignal Class

Data quality signal

Constructor

DataQualitySignal(*, production_data: ProductionData | None = None, reference_data: ReferenceData | None = None, features: List[str] | MonitorFeatureFilter | Literal['all_features'] | None = None, feature_type_override: Dict[str, str | MonitorFeatureDataType] | None = None, metric_thresholds: MetricThreshold | List[MetricThreshold] | None = None, alert_enabled: bool = False, properties: Dict[str, str] | None = None)

Keyword-Only Parameters

Name Description
production_data

The data for which drift will be calculated

Default value: None
reference_data

The data to calculate drift against

Default value: None
metric_thresholds

Metrics to calculate and their associated thresholds

Default value: None
alert_enabled

Whether or not to enable alerts for the signal. Defaults to False.

Default value: False
features
Union[List[str], MonitorFeatureFilter, Literal['all_features']]

The feature filter identifying which feature(s) to calculate drift over.

Default value: None
feature_type_override

Dictionary of features and what they should be overridden to.

Default value: None
properties

Dictionary of additional properties.

Default value: None

Variables

Name Description
type
str

The type of the signal. Set to "data_quality" for this class.