Sdílet prostřednictvím


GenerationTokenStatisticsSignal Constructor

Definition

Initializes a new instance of GenerationTokenStatisticsSignal.

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

Parameters

metricThresholds
IEnumerable<GenerationTokenStatisticsMetricThreshold>

[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