次の方法で共有


AnomalyDetectionCatalog.ChangeModelThreshold<TModel> メソッド

定義

指定した AnomalyPredictionTransformer<TModel> を使用して、新しい threshold を作成します。 指定 threshold した値がしきい値と model 同じ場合、単に返されます model。 既定では、しきい値は 0.5 で、有効なスコアの範囲は 0 から 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)

型パラメーター

TModel

パラメーター

threshold
Single

モデルによって予測されたスコアに基づいてデータ ポイントのラベルを決定するために使用される新しいしきい値。

戻り値

適用対象