AutoMLExperimentExtension.SetPerformanceMonitor 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- experiment
- 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
參數
- experiment
- AutoMLExperiment
傳回
適用於
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
參數
- experiment
- AutoMLExperiment
- factory
- Func<IServiceProvider,TPerformanceMonitor>