TimeSeriesPredictionEngine<TSrc,TDst> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class that runs the previously trained model (and the preceding transform pipeline) on the in-memory data, one example at a time. This can also be used with trained pipelines that do not end with a predictor: in this case, the 'prediction' will be just the outcome of all the transformations.
public sealed class TimeSeriesPredictionEngine<TSrc,TDst> : Microsoft.ML.PredictionEngineBase<TSrc,TDst> where TSrc : class where TDst : class, new()
type TimeSeriesPredictionEngine<'Src, 'Dst (requires 'Src : null and 'Dst : null and 'Dst : (new : unit -> 'Dst))> = class
inherit PredictionEngineBase<'Src, 'Dst (requires 'Src : null and 'Dst : null and 'Dst : (new : unit -> 'Dst))>
Public NotInheritable Class TimeSeriesPredictionEngine(Of TSrc, TDst)
Inherits PredictionEngineBase(Of TSrc, TDst)
- TSrc
The user-defined type that holds the example.
- TDst
The user-defined type that holds the prediction.
- Inheritance
Time |
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) |
Output |
Provides output schema. (Inherited from PredictionEngineBase<TSrc,TDst>) |
Check |
Checkpoints TimeSeriesPredictionEngine<TSrc,TDst> to a Stream with the updated state. |
Check |
Checkpoints TimeSeriesPredictionEngine<TSrc,TDst> to disk with the updated state. |
Dispose() | (Inherited from PredictionEngineBase<TSrc,TDst>) |
Predict(Nullable<Int32>, Nullable<Single>) |
Forecasting only task. |
Predict(TSrc, Nullable<Int32>, Nullable<Single>) |
Performs prediction. In the case of forecasting only task |
Predict(TSrc, TDst, Nullable<Int32>, Nullable<Single>) |
Performs prediction. In the case of forecasting only task |
Predict(TSrc, TDst) |
Performs prediction. In the case of forecasting only task |
Predict(TSrc) |
Run prediction pipeline on one example. (Inherited from PredictionEngineBase<TSrc,TDst>) |
Product | Versions |
---|---|
ML.NET | 1.2.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview |