Freigeben über


BinaryClassificationCatalog.ChangeModelThreshold<TModel> Methode

Definition

Methode zum Ändern des Schwellenwerts auf vorhandenes Modell und Rückgabemodell.

public Microsoft.ML.Data.BinaryPredictionTransformer<TModel> ChangeModelThreshold<TModel> (Microsoft.ML.Data.BinaryPredictionTransformer<TModel> model, float threshold) where TModel : class;
member this.ChangeModelThreshold : Microsoft.ML.Data.BinaryPredictionTransformer<'Model (requires 'Model : null)> * single -> Microsoft.ML.Data.BinaryPredictionTransformer<'Model (requires 'Model : null)> (requires 'Model : null)
Public Function ChangeModelThreshold(Of TModel As Class) (model As BinaryPredictionTransformer(Of TModel), threshold As Single) As BinaryPredictionTransformer(Of TModel)

Typparameter

TModel

Der Typ der Modellparameter.

Parameter

model
BinaryPredictionTransformer<TModel>

Vorhandenes Modell zum Ändern des Schwellenwerts.

threshold
Single

Neuer Schwellenwert

Gibt zurück

Neues Modell mit geändertem Schwellenwert.

Gilt für: