PredictionEngineBase<TSrc,TDst>.Predict Method
Definition
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.
Overloads
Predict(TSrc) |
Run prediction pipeline on one example. |
Predict(TSrc, TDst) |
Run prediction pipeline on one example. |
Predict(TSrc)
Run prediction pipeline on one example.
public TDst Predict (TSrc example);
member this.Predict : 'Src -> 'Dst
Public Function Predict (example As TSrc) As TDst
Parameters
- example
- TSrc
The example to run on.
Returns
The result of prediction. A new object is created for every call.
Applies to
Predict(TSrc, TDst)
Run prediction pipeline on one example.
public abstract void Predict (TSrc example, ref TDst prediction);
abstract member Predict : 'Src * 'Dst -> unit
Public MustOverride Sub Predict (example As TSrc, ByRef prediction As TDst)
Parameters
- example
- TSrc
The example to run on.
- prediction
- TDst
The object to store the prediction in. If it's null
, a new one will be created, otherwise the old one
is reused.