Partilhar via


AutoMLExperimentExtension.SetPerformanceMonitor Método

Definição

Sobrecargas

SetPerformanceMonitor(AutoMLExperiment, Int32)

Defina DefaultPerformanceMonitor como IPerformanceMonitor para AutoMLExperiment.

SetPerformanceMonitor<TPerformanceMonitor>(AutoMLExperiment)

Defina um monitor de desempenho personalizado como IPerformanceMonitor para AutoMLExperiment.

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

Defina um monitor de desempenho personalizado como IPerformanceMonitor para AutoMLExperiment.

SetPerformanceMonitor(AutoMLExperiment, Int32)

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

Parâmetros

checkIntervalInMilliseconds
Int32

o intervalo em milissegundos para DefaultPerformanceMonitor amostra TrialPerformanceMetrics

Retornos

Aplica-se a

SetPerformanceMonitor<TPerformanceMonitor>(AutoMLExperiment)

Defina um monitor de desempenho personalizado como IPerformanceMonitor para 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

Parâmetros de tipo

TPerformanceMonitor

Parâmetros

Retornos

Aplica-se a

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

Defina um monitor de desempenho personalizado como IPerformanceMonitor para 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

Parâmetros de tipo

TPerformanceMonitor

Parâmetros

factory
Func<IServiceProvider,TPerformanceMonitor>

Retornos

Aplica-se a