Udostępnij za pośrednictwem


AnomalyDetectionCatalog.ChangeModelThreshold<TModel> Metoda

Definicja

Tworzy nowy AnomalyPredictionTransformer<TModel> element z określonym thresholdelementem . Jeśli podana threshold wartość jest taka sama jak model próg, po prostu zwraca wartość model. Należy pamiętać, że domyślnie próg wynosi 0,5 i prawidłowe wyniki wahają się od 0 do 1.

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

Parametry typu

TModel

Parametry

threshold
Single

Nowa wartość progowa, która będzie używana do określania etykiety punktu danych na podstawie przewidywanego wyniku przez model.

Zwraca

Dotyczy