Dela via


AnomalyDetectionCatalog.Evaluate Method

Definition

Evaluates scored anomaly detection data.

public Microsoft.ML.Data.AnomalyDetectionMetrics Evaluate (Microsoft.ML.IDataView data, string labelColumnName = "Label", string scoreColumnName = "Score", string predictedLabelColumnName = "PredictedLabel", int falsePositiveCount = 10);
member this.Evaluate : Microsoft.ML.IDataView * string * string * string * int -> Microsoft.ML.Data.AnomalyDetectionMetrics
Public Function Evaluate (data As IDataView, Optional labelColumnName As String = "Label", Optional scoreColumnName As String = "Score", Optional predictedLabelColumnName As String = "PredictedLabel", Optional falsePositiveCount As Integer = 10) As AnomalyDetectionMetrics

Parameters

data
IDataView

The scored data.

labelColumnName
String

The name of the label column in data.

scoreColumnName
String

The name of the score column in data.

predictedLabelColumnName
String

The name of the predicted label column in data.

falsePositiveCount
Int32

The number of false positives to compute the DetectionRateAtFalsePositiveCount metric.

Returns

Evaluation results.

Applies to