38 references to OverallMetrics
Microsoft.ML.Data (38)
EntryPoints\InputBuilder.cs (7)
866
public const string DrAtK = AnomalyDetectionEvaluator.
OverallMetrics
.DrAtK;
867
public const string DrAtPFpr = AnomalyDetectionEvaluator.
OverallMetrics
.DrAtPFpr;
868
public const string DrAtNumPos = AnomalyDetectionEvaluator.
OverallMetrics
.DrAtNumPos;
869
public const string NumAnomalies = AnomalyDetectionEvaluator.
OverallMetrics
.NumAnomalies;
870
public const string ThreshAtK = AnomalyDetectionEvaluator.
OverallMetrics
.ThreshAtK;
871
public const string ThreshAtP = AnomalyDetectionEvaluator.
OverallMetrics
.ThreshAtP;
872
public const string ThreshAtNumPos = AnomalyDetectionEvaluator.
OverallMetrics
.ThreshAtNumPos;
Evaluators\AnomalyDetectionEvaluator.cs (30)
119
yield return new MetricColumn("DrAtK",
OverallMetrics
.DrAtK, canBeWeighted: false);
120
yield return new MetricColumn("DrAtPFpr",
OverallMetrics
.DrAtPFpr, canBeWeighted: false);
121
yield return new MetricColumn("DrAtNumPos",
OverallMetrics
.DrAtNumPos, canBeWeighted: false);
122
yield return new MetricColumn("NumAnomalies",
OverallMetrics
.NumAnomalies, MetricColumn.Objective.Info, canBeWeighted: false);
123
yield return new MetricColumn("ThreshAtK",
OverallMetrics
.ThreshAtK, MetricColumn.Objective.Info, canBeWeighted: false);
124
yield return new MetricColumn("ThreshAtP",
OverallMetrics
.ThreshAtP, MetricColumn.Objective.Info, canBeWeighted: false);
125
yield return new MetricColumn("ThreshAtNumPos",
OverallMetrics
.ThreshAtNumPos, MetricColumn.Objective.Info, canBeWeighted: false);
186
overallDvBldr.AddColumn(
OverallMetrics
.DrAtK, NumberDataViewType.Double, drAtK.ToArray());
187
overallDvBldr.AddColumn(
OverallMetrics
.DrAtPFpr, NumberDataViewType.Double, drAtP.ToArray());
188
overallDvBldr.AddColumn(
OverallMetrics
.DrAtNumPos, NumberDataViewType.Double, drAtNumAnomalies.ToArray());
189
overallDvBldr.AddColumn(
OverallMetrics
.ThreshAtK, NumberDataViewType.Single, thresholdAtK.ToArray());
190
overallDvBldr.AddColumn(
OverallMetrics
.ThreshAtP, NumberDataViewType.Single, thresholdAtP.ToArray());
191
overallDvBldr.AddColumn(
OverallMetrics
.ThreshAtNumPos, NumberDataViewType.Single, thresholdAtNumAnomalies.ToArray());
192
overallDvBldr.AddColumn(
OverallMetrics
.NumAnomalies, NumberDataViewType.Int64, numAnoms.ToArray());
716
DataViewSchema.Column? numAnom = overall.Schema.GetColumnOrNull(AnomalyDetectionEvaluator.
OverallMetrics
.NumAnomalies);
718
throw Host.ExceptSchemaMismatch(nameof(overall.Schema), "number of anomalies", AnomalyDetectionEvaluator.
OverallMetrics
.NumAnomalies);
726
using (var cursor = overall.GetRowCursor(overall.Schema.Where(col => col.Name.Equals(AnomalyDetectionEvaluator.
OverallMetrics
.NumAnomalies) ||
757
(kFormatName, AnomalyDetectionEvaluator.
OverallMetrics
.DrAtK),
758
(pFormatName, AnomalyDetectionEvaluator.
OverallMetrics
.DrAtPFpr),
759
(numAnomName, AnomalyDetectionEvaluator.
OverallMetrics
.DrAtNumPos)
767
colsToKeep.Add(AnomalyDetectionEvaluator.
OverallMetrics
.ThreshAtK);
768
colsToKeep.Add(AnomalyDetectionEvaluator.
OverallMetrics
.ThreshAtP);
769
colsToKeep.Add(AnomalyDetectionEvaluator.
OverallMetrics
.ThreshAtNumPos);
783
AnomalyDetectionEvaluator.
OverallMetrics
.NumAnomalies,
784
AnomalyDetectionEvaluator.
OverallMetrics
.ThreshAtK,
785
AnomalyDetectionEvaluator.
OverallMetrics
.ThreshAtP,
786
AnomalyDetectionEvaluator.
OverallMetrics
.ThreshAtNumPos);
805
yield return new MetricColumn("DrAtK", AnomalyDetectionEvaluator.
OverallMetrics
.DrAtK, canBeWeighted: false);
806
yield return new MetricColumn("DrAtPFpr", AnomalyDetectionEvaluator.
OverallMetrics
.DrAtPFpr, canBeWeighted: false);
807
yield return new MetricColumn("DrAtNumPos", AnomalyDetectionEvaluator.
OverallMetrics
.DrAtNumPos, canBeWeighted: false);
Evaluators\Metrics\AnomalyDetectionMetrics.cs (1)
44
DetectionRateAtFalsePositiveCount = FetchDouble(AnomalyDetectionEvaluator.
OverallMetrics
.DrAtK);