PredictionEnginePoolBuilder<TData,TPrediction> Class

Definition

A class that provides the mechanisms to configure a pool of ML.NET PredictionEngine<TSrc,TDst> objects.

public class PredictionEnginePoolBuilder<TData,TPrediction> where TData : class where TPrediction : class, new()
type PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> = class
Public Class PredictionEnginePoolBuilder(Of TData, TPrediction)

Type Parameters

TData
TPrediction
Inheritance
PredictionEnginePoolBuilder<TData,TPrediction>

Constructors

PredictionEnginePoolBuilder<TData,TPrediction>(IServiceCollection)

Initializes a new instance of PredictionEnginePoolBuilder<TData,TPrediction>.

Properties

Services

The IServiceCollection to add services to.

Extension Methods

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String)

Adds the model at the specified file to the builder.

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Boolean)

Adds the model at the specified file to the builder.

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String)

Adds the model at the specified file to the builder.

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, Boolean)

Adds the model at the specified file to the builder.

FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String)

Adds the model at the specified location to the builder.

FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String)

Adds the named model at the specified location to the builder.

FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, TimeSpan)

Adds the named model at the specified location to the builder.

FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, TimeSpan)

Adds the model at the specified location to the builder.

FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Uri)

Adds the named model at the specified location to the builder.

FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Uri, TimeSpan)

Adds the named model at the specified location to the builder.

Applies to