Class DataQualityMonitoringSignal
java.lang.Object
com.azure.resourcemanager.machinelearning.models.MonitoringSignalBase
com.azure.resourcemanager.machinelearning.models.DataQualityMonitoringSignal
- All Implemented Interfaces:
com.azure.json.JsonSerializable<MonitoringSignalBase>
The DataQualityMonitoringSignal model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DataQualityMonitoringSignal class. -
Method Summary
Modifier and TypeMethodDescriptionGet the featureDataTypeOverride property: A dictionary that maps feature names to their respective data types.Get the featureImportanceSettings property: The settings for computing feature importance.features()Get the features property: The features to calculate drift over.static DataQualityMonitoringSignalfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DataQualityMonitoringSignal from the JsonReader.Get the metricThresholds property: [Required] A list of metrics to calculate and their associated thresholds.Get the productionData property: [Required] The data produced by the production service which drift will be calculated for.Get the referenceData property: [Required] The data to calculate drift against.Get the signalType property: [Required] Specifies the type of signal to monitor.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withFeatureDataTypeOverride(Map<String, MonitoringFeatureDataType> featureDataTypeOverride) Set the featureDataTypeOverride property: A dictionary that maps feature names to their respective data types.withFeatureImportanceSettings(FeatureImportanceSettings featureImportanceSettings) Set the featureImportanceSettings property: The settings for computing feature importance.withFeatures(MonitoringFeatureFilterBase features) Set the features property: The features to calculate drift over.withMetricThresholds(List<DataQualityMetricThresholdBase> metricThresholds) Set the metricThresholds property: [Required] A list of metrics to calculate and their associated thresholds.withNotificationTypes(List<MonitoringNotificationType> notificationTypes) Set the notificationTypes property: The current notification mode for this signal.withProductionData(MonitoringInputDataBase productionData) Set the productionData property: [Required] The data produced by the production service which drift will be calculated for.withProperties(Map<String, String> properties) Set the properties property: Property dictionary.withReferenceData(MonitoringInputDataBase referenceData) Set the referenceData property: [Required] The data to calculate drift against.Methods inherited from class com.azure.resourcemanager.machinelearning.models.MonitoringSignalBase
notificationTypes, propertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DataQualityMonitoringSignal
public DataQualityMonitoringSignal()Creates an instance of DataQualityMonitoringSignal class.
-
-
Method Details
-
signalType
Get the signalType property: [Required] Specifies the type of signal to monitor.- Overrides:
signalTypein classMonitoringSignalBase- Returns:
- the signalType value.
-
features
Get the features property: The features to calculate drift over.- Returns:
- the features value.
-
withFeatures
Set the features property: The features to calculate drift over.- Parameters:
features- the features value to set.- Returns:
- the DataQualityMonitoringSignal object itself.
-
featureImportanceSettings
Get the featureImportanceSettings property: The settings for computing feature importance.- Returns:
- the featureImportanceSettings value.
-
withFeatureImportanceSettings
public DataQualityMonitoringSignal withFeatureImportanceSettings(FeatureImportanceSettings featureImportanceSettings) Set the featureImportanceSettings property: The settings for computing feature importance.- Parameters:
featureImportanceSettings- the featureImportanceSettings value to set.- Returns:
- the DataQualityMonitoringSignal object itself.
-
metricThresholds
Get the metricThresholds property: [Required] A list of metrics to calculate and their associated thresholds.- Returns:
- the metricThresholds value.
-
withMetricThresholds
public DataQualityMonitoringSignal withMetricThresholds(List<DataQualityMetricThresholdBase> metricThresholds) Set the metricThresholds property: [Required] A list of metrics to calculate and their associated thresholds.- Parameters:
metricThresholds- the metricThresholds value to set.- Returns:
- the DataQualityMonitoringSignal object itself.
-
productionData
Get the productionData property: [Required] The data produced by the production service which drift will be calculated for.- Returns:
- the productionData value.
-
withProductionData
Set the productionData property: [Required] The data produced by the production service which drift will be calculated for.- Parameters:
productionData- the productionData value to set.- Returns:
- the DataQualityMonitoringSignal object itself.
-
referenceData
Get the referenceData property: [Required] The data to calculate drift against.- Returns:
- the referenceData value.
-
withReferenceData
Set the referenceData property: [Required] The data to calculate drift against.- Parameters:
referenceData- the referenceData value to set.- Returns:
- the DataQualityMonitoringSignal object itself.
-
featureDataTypeOverride
Get the featureDataTypeOverride property: A dictionary that maps feature names to their respective data types.- Returns:
- the featureDataTypeOverride value.
-
withFeatureDataTypeOverride
public DataQualityMonitoringSignal withFeatureDataTypeOverride(Map<String, MonitoringFeatureDataType> featureDataTypeOverride) Set the featureDataTypeOverride property: A dictionary that maps feature names to their respective data types.- Parameters:
featureDataTypeOverride- the featureDataTypeOverride value to set.- Returns:
- the DataQualityMonitoringSignal object itself.
-
withNotificationTypes
public DataQualityMonitoringSignal withNotificationTypes(List<MonitoringNotificationType> notificationTypes) Set the notificationTypes property: The current notification mode for this signal.- Overrides:
withNotificationTypesin classMonitoringSignalBase- Parameters:
notificationTypes- the notificationTypes value to set.- Returns:
- the MonitoringSignalBase object itself.
-
withProperties
Set the properties property: Property dictionary. Properties can be added, but not removed or altered.- Overrides:
withPropertiesin classMonitoringSignalBase- Parameters:
properties- the properties value to set.- Returns:
- the MonitoringSignalBase object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMonitoringSignalBase- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<MonitoringSignalBase>- Overrides:
toJsonin classMonitoringSignalBase- Throws:
IOException
-
fromJson
public static DataQualityMonitoringSignal fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DataQualityMonitoringSignal from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DataQualityMonitoringSignal if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the DataQualityMonitoringSignal.
-