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