共用方式為


DataQualityMetricThreshold 類別

注意

這是實驗性類別,隨時可能會變更。 請參閱 https://aka.ms/azuremlexperimental 以取得詳細資訊。

資料品質計量閾值

繼承
azure.ai.ml.entities._monitoring.thresholds.MetricThreshold
DataQualityMetricThreshold

建構函式

DataQualityMetricThreshold(*, data_type: ~typing.Literal[<MonitorFeatureType.CATEGORICAL: 'categorical'>, <MonitorFeatureType.NUMERICAL: 'numerical'>] = None, threshold: float = None, metric_name: str | None = None, numerical: ~azure.ai.ml.entities._monitoring.thresholds.DataQualityMetricsNumerical | None = None, categorical: ~azure.ai.ml.entities._monitoring.thresholds.DataQualityMetricsCategorical | None = None)

參數

applicable_feature_type
Literal[ azure.ai.ml.constants.MonitorFeatureType.CATEGORICAL , azure.ai.ml.constants.MonitorFeatureType.MonitorFeatureType.NUMERICAL]
必要

計量閾值的功能類型

metric_name
Literal[ azure.ai.ml.constants.MonitorMetricName.JENSEN_SHANNON_DISTANCE , azure.ai.ml.constants.MonitorMetricName.NULL_VALUE_RATE , azure.ai.ml.constants.MonitorMetricName.DATA_TYPE_ERROR_RATE , azure.ai.ml.constants.MonitorMetricName.OUT_OF_BOUND_RATE]
必要

要計算的計量

threshold
float
必要

臨界值。 如果為 None,則會根據選取的計量來設定預設值。