Поделиться через


AutoMLExperimentExtension.SetPerformanceMonitor Метод

Определение

Перегрузки

SetPerformanceMonitor(AutoMLExperiment, Int32)

Задайте значение DefaultPerformanceMonitorIPerformanceMonitor для AutoMLExperimentпараметра .

SetPerformanceMonitor<TPerformanceMonitor>(AutoMLExperiment)

Задайте для пользовательского монитора производительности значение IPerformanceMonitor .AutoMLExperiment

SetPerformanceMonitor<TPerformanceMonitor>(AutoMLExperiment, Func<IServiceProvider,TPerformanceMonitor>)

Задайте для пользовательского монитора производительности значение IPerformanceMonitor .AutoMLExperiment

SetPerformanceMonitor(AutoMLExperiment, Int32)

Задайте значение DefaultPerformanceMonitorIPerformanceMonitor для AutoMLExperimentпараметра .

public static Microsoft.ML.AutoML.AutoMLExperiment SetPerformanceMonitor (this Microsoft.ML.AutoML.AutoMLExperiment experiment, int checkIntervalInMilliseconds = 1000);
static member SetPerformanceMonitor : Microsoft.ML.AutoML.AutoMLExperiment * int -> Microsoft.ML.AutoML.AutoMLExperiment
<Extension()>
Public Function SetPerformanceMonitor (experiment As AutoMLExperiment, Optional checkIntervalInMilliseconds As Integer = 1000) As AutoMLExperiment

Параметры

checkIntervalInMilliseconds
Int32

интервал в миллисекундах для DefaultPerformanceMonitor выборки TrialPerformanceMetrics

Возвращаемое значение

Применяется к

SetPerformanceMonitor<TPerformanceMonitor>(AutoMLExperiment)

Задайте для пользовательского монитора производительности значение IPerformanceMonitor .AutoMLExperiment

public static Microsoft.ML.AutoML.AutoMLExperiment SetPerformanceMonitor<TPerformanceMonitor> (this Microsoft.ML.AutoML.AutoMLExperiment experiment) where TPerformanceMonitor : class, Microsoft.ML.AutoML.IPerformanceMonitor;
static member SetPerformanceMonitor : Microsoft.ML.AutoML.AutoMLExperiment -> Microsoft.ML.AutoML.AutoMLExperiment (requires 'PerformanceMonitor : null and 'PerformanceMonitor :> Microsoft.ML.AutoML.IPerformanceMonitor)
<Extension()>
Public Function SetPerformanceMonitor(Of TPerformanceMonitor As {Class, IPerformanceMonitor}) (experiment As AutoMLExperiment) As AutoMLExperiment

Параметры типа

TPerformanceMonitor

Параметры

Возвращаемое значение

Применяется к

SetPerformanceMonitor<TPerformanceMonitor>(AutoMLExperiment, Func<IServiceProvider,TPerformanceMonitor>)

Задайте для пользовательского монитора производительности значение IPerformanceMonitor .AutoMLExperiment

public static Microsoft.ML.AutoML.AutoMLExperiment SetPerformanceMonitor<TPerformanceMonitor> (this Microsoft.ML.AutoML.AutoMLExperiment experiment, Func<IServiceProvider,TPerformanceMonitor> factory) where TPerformanceMonitor : class, Microsoft.ML.AutoML.IPerformanceMonitor;
static member SetPerformanceMonitor : Microsoft.ML.AutoML.AutoMLExperiment * Func<IServiceProvider, 'PerformanceMonitor (requires 'PerformanceMonitor : null and 'PerformanceMonitor :> Microsoft.ML.AutoML.IPerformanceMonitor)> -> Microsoft.ML.AutoML.AutoMLExperiment (requires 'PerformanceMonitor : null and 'PerformanceMonitor :> Microsoft.ML.AutoML.IPerformanceMonitor)
<Extension()>
Public Function SetPerformanceMonitor(Of TPerformanceMonitor As {Class, IPerformanceMonitor}) (experiment As AutoMLExperiment, factory As Func(Of IServiceProvider, TPerformanceMonitor)) As AutoMLExperiment

Параметры типа

TPerformanceMonitor

Параметры

factory
Func<IServiceProvider,TPerformanceMonitor>

Возвращаемое значение

Применяется к