Partilhar via


PredictionEnginePool<TData,TPrediction>.ReturnPredictionEngine Método

Definição

Sobrecargas

ReturnPredictionEngine(PredictionEngine<TData,TPrediction>)

Retorna um PredictionEngine alugado para o pool.

ReturnPredictionEngine(String, PredictionEngine<TData,TPrediction>)

Retorna um PredictionEngine alugado para o pool.

ReturnPredictionEngine(PredictionEngine<TData,TPrediction>)

Retorna um PredictionEngine alugado para o pool.

public void ReturnPredictionEngine (Microsoft.ML.PredictionEngine<TData,TPrediction> engine);
member this.ReturnPredictionEngine : Microsoft.ML.PredictionEngine<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> -> unit
Public Sub ReturnPredictionEngine (engine As PredictionEngine(Of TData, TPrediction))

Parâmetros

engine
PredictionEngine<TData,TPrediction>

O PredictionEngine alugado.

Aplica-se a

ReturnPredictionEngine(String, PredictionEngine<TData,TPrediction>)

Retorna um PredictionEngine alugado para o pool.

public void ReturnPredictionEngine (string modelName, Microsoft.ML.PredictionEngine<TData,TPrediction> engine);
member this.ReturnPredictionEngine : string * Microsoft.ML.PredictionEngine<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> -> unit
Public Sub ReturnPredictionEngine (modelName As String, engine As PredictionEngine(Of TData, TPrediction))

Parâmetros

modelName
String

O nome do modelo que permite identificar exclusivamente o modelo quando vários modelos têm os mesmos TData e TPrediction tipos.

engine
PredictionEngine<TData,TPrediction>

O PredictionEngine alugado.

Aplica-se a