TimeSeriesPredictionEngine<TSrc,TDst> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用於建立時間序列特定預測引擎的建構函式。 它可讓時間序列模型透過 預測時間所見的觀察來更新 CheckPoint(IHostEnvironment, String)
public TimeSeriesPredictionEngine (Microsoft.ML.Runtime.IHostEnvironment env, Microsoft.ML.ITransformer transformer, bool ignoreMissingColumns, Microsoft.ML.Data.SchemaDefinition inputSchemaDefinition = default, Microsoft.ML.Data.SchemaDefinition outputSchemaDefinition = default);
new Microsoft.ML.Transforms.TimeSeries.TimeSeriesPredictionEngine<'Src, 'Dst (requires 'Src : null and 'Dst : null and 'Dst : (new : unit -> 'Dst))> : Microsoft.ML.Runtime.IHostEnvironment * Microsoft.ML.ITransformer * bool * Microsoft.ML.Data.SchemaDefinition * Microsoft.ML.Data.SchemaDefinition -> Microsoft.ML.Transforms.TimeSeries.TimeSeriesPredictionEngine<'Src, 'Dst (requires 'Src : null and 'Dst : null and 'Dst : (new : unit -> 'Dst))>
Public Sub New (env As IHostEnvironment, transformer As ITransformer, ignoreMissingColumns As Boolean, Optional inputSchemaDefinition As SchemaDefinition = Nothing, Optional outputSchemaDefinition As SchemaDefinition = Nothing)
參數
- env
- IHostEnvironment
- transformer
- ITransformer
- ignoreMissingColumns
- Boolean
- inputSchemaDefinition
- SchemaDefinition
- outputSchemaDefinition
- SchemaDefinition