AutoMLExperimentExtension.SetPerformanceMonitor 方法

定义

重载

SetPerformanceMonitor(AutoMLExperiment, Int32)

AutoMLExperiment设置为 IPerformanceMonitorDefaultPerformanceMonitor

SetPerformanceMonitor<TPerformanceMonitor>(AutoMLExperiment)

AutoMLExperiment自定义性能监视器设置为 IPerformanceMonitor

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

AutoMLExperiment自定义性能监视器设置为 IPerformanceMonitor

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

参数

checkIntervalInMilliseconds
Int32

采样的间隔( DefaultPerformanceMonitor 以毫秒为单位) TrialPerformanceMetrics

返回

适用于

SetPerformanceMonitor<TPerformanceMonitor>(AutoMLExperiment)

AutoMLExperiment自定义性能监视器设置为 IPerformanceMonitor

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>)

AutoMLExperiment自定义性能监视器设置为 IPerformanceMonitor

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>

返回

适用于