共用方式為


AutoMLExperimentExtension.SetPerformanceMonitor 方法

定義

多載

SetPerformanceMonitor(AutoMLExperiment, Int32)

針對 設定DefaultPerformanceMonitorAutoMLExperimentIPerformanceMonitor

SetPerformanceMonitor<TPerformanceMonitor>(AutoMLExperiment)

將自訂效能監視器設定為 IPerformanceMonitorAutoMLExperiment

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

將自訂效能監視器設定為 IPerformanceMonitorAutoMLExperiment

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)

將自訂效能監視器設定為 IPerformanceMonitorAutoMLExperiment

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

將自訂效能監視器設定為 IPerformanceMonitorAutoMLExperiment

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>

傳回

適用於