Dela via


TimeSeriesPredictionEngine<TSrc,TDst> Constructor

Definition

Contructor for creating time series specific prediction engine. It allows the time series model to be updated with the observations seen at prediction time via 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)

Parameters

transformer
ITransformer
ignoreMissingColumns
Boolean
inputSchemaDefinition
SchemaDefinition
outputSchemaDefinition
SchemaDefinition

Applies to