Share via


AnomalyDetectionCatalog.ChangeModelThreshold<TModel> Metoda

Definice

Vytvoří novou AnomalyPredictionTransformer<TModel> se zadaným thresholdparametrem . Pokud je poskytnutá threshold hodnota stejná jako model prahová hodnota, jednoduše vrátí model. Všimněte si, že prahová hodnota je ve výchozím nastavení 0,5 a platné skóre se pohybuje 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

Nová prahová hodnota, která se použije k určení popisku datového bodu na základě předpokládaného skóre modelu.

Návraty

Platí pro