Delen via


PredictionEngineBase<TSrc,TDst>.Predict Method

Definition

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

TDst

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.

Applies to