Share via


GenerationSafetyQualityMonitoringSignal Constructor

Definition

Initializes a new instance of GenerationSafetyQualityMonitoringSignal.

public GenerationSafetyQualityMonitoringSignal (System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.Models.GenerationSafetyQualityMetricThreshold> metricThresholds, double samplingRate);
new Azure.ResourceManager.MachineLearning.Models.GenerationSafetyQualityMonitoringSignal : seq<Azure.ResourceManager.MachineLearning.Models.GenerationSafetyQualityMetricThreshold> * double -> Azure.ResourceManager.MachineLearning.Models.GenerationSafetyQualityMonitoringSignal
Public Sub New (metricThresholds As IEnumerable(Of GenerationSafetyQualityMetricThreshold), samplingRate As Double)

Parameters

metricThresholds
IEnumerable<GenerationSafetyQualityMetricThreshold>

[Required] Gets or sets the metrics to calculate and the corresponding thresholds.

samplingRate
Double

[Required] The sample rate of the target data, should be greater than 0 and at most 1.

Exceptions

metricThresholds is null.

Applies to