AnomalyDetectionCatalog.ChangeModelThreshold<TModel> Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Tworzy nowy AnomalyPredictionTransformer<TModel> element z określonym threshold
elementem .
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
Trenowany AnomalyPredictionTransformer<TModel>element .
- threshold
- Single
Nowa wartość progowa, która będzie używana do określania etykiety punktu danych na podstawie przewidywanego wyniku przez model.