你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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,则将根据所选指标设置默认值。