PredictionEngineBase<TSrc,TDst> Class

Definition

Base class for making single predictions on a previously trained model (and the preceding transform pipeline).

public abstract class PredictionEngineBase<TSrc,TDst> : IDisposable where TSrc : class where TDst : class, new()
type PredictionEngineBase<'Src, 'Dst (requires 'Src : null and 'Dst : null and 'Dst : (new : unit -> 'Dst))> = class
    interface IDisposable
Public MustInherit Class PredictionEngineBase(Of TSrc, TDst)
Implements IDisposable

Type Parameters

TSrc

The user-defined type that holds the example.

TDst

The user-defined type that holds the prediction.

Inheritance
PredictionEngineBase<TSrc,TDst>
Derived
Implements

Properties

OutputSchema

Provides output schema.

Methods

Dispose()
Predict(TSrc)

Run prediction pipeline on one example.

Predict(TSrc, TDst)

Run prediction pipeline on one example.

Applies to