3 instantiations of BinaryClassifierEvaluator
Microsoft.ML.Data (3)
Evaluators\BinaryClassifierEvaluator.cs (1)
1337
_evaluator = new
BinaryClassifierEvaluator
(Host, evalArgs);
TrainCatalog.cs (2)
211
var eval = new
BinaryClassifierEvaluator
(Environment, new BinaryClassifierEvaluator.Arguments() { });
230
var eval = new
BinaryClassifierEvaluator
(Environment, new BinaryClassifierEvaluator.Arguments() { });
67 references to BinaryClassifierEvaluator
Microsoft.ML.Data (67)
EntryPoints\InputBuilder.cs (9)
847
public const string Auc =
BinaryClassifierEvaluator
.Auc;
850
public const string F1 =
BinaryClassifierEvaluator
.F1;
851
public const string AuPrc =
BinaryClassifierEvaluator
.AuPrc;
858
public const string LogLoss =
BinaryClassifierEvaluator
.LogLoss;
859
public const string LogLossReduction =
BinaryClassifierEvaluator
.LogLossReduction;
862
public const string PositivePrecision =
BinaryClassifierEvaluator
.PosPrecName;
863
public const string PositiveRecall =
BinaryClassifierEvaluator
.PosRecallName;
864
public const string NegativePrecision =
BinaryClassifierEvaluator
.NegPrecName;
865
public const string NegativeRecall =
BinaryClassifierEvaluator
.NegRecallName;
Evaluators\AnomalyDetectionEvaluator.cs (2)
185
overallDvBldr.AddColumn(
BinaryClassifierEvaluator
.Auc, NumberDataViewType.Double, auc.ToArray());
770
colsToKeep.Add(
BinaryClassifierEvaluator
.Auc);
Evaluators\BinaryClassifierEvaluator.cs (39)
16
[assembly: LoadableClass(typeof(
BinaryClassifierEvaluator
), typeof(
BinaryClassifierEvaluator
), typeof(
BinaryClassifierEvaluator
.Arguments), typeof(SignatureEvaluator),
17
"Binary Classifier Evaluator",
BinaryClassifierEvaluator
.LoadName, "BinaryClassifier", "Binary", "bin")]
20
"Binary Classifier Evaluator",
BinaryClassifierEvaluator
.LoadName, "BinaryClassifier", "Binary", "bin")]
31
internal sealed class BinaryClassifierEvaluator : RowToRowEvaluatorBase<
BinaryClassifierEvaluator
.Aggregator>
68
[EnumValueDisplay(
BinaryClassifierEvaluator
.Accuracy)]
70
[EnumValueDisplay(
BinaryClassifierEvaluator
.PosPrecName)]
72
[EnumValueDisplay(
BinaryClassifierEvaluator
.PosRecallName)]
74
[EnumValueDisplay(
BinaryClassifierEvaluator
.NegPrecName)]
76
[EnumValueDisplay(
BinaryClassifierEvaluator
.NegRecallName)]
78
[EnumValueDisplay(
BinaryClassifierEvaluator
.Auc)]
80
[EnumValueDisplay(
BinaryClassifierEvaluator
.LogLoss)]
82
[EnumValueDisplay(
BinaryClassifierEvaluator
.LogLossReduction)]
84
[EnumValueDisplay(
BinaryClassifierEvaluator
.F1)]
86
[EnumValueDisplay(
BinaryClassifierEvaluator
.AuPrc)]
915
var thresholdColumn = prCurveView.Schema.GetColumnOrNull(
BinaryClassifierEvaluator
.Threshold);
916
var precisionColumn = prCurveView.Schema.GetColumnOrNull(
BinaryClassifierEvaluator
.Precision);
917
var recallColumn = prCurveView.Schema.GetColumnOrNull(
BinaryClassifierEvaluator
.Recall);
918
var fprColumn = prCurveView.Schema.GetColumnOrNull(
BinaryClassifierEvaluator
.FalsePositiveRate);
1315
private readonly
BinaryClassifierEvaluator
_evaluator;
1328
var evalArgs = new
BinaryClassifierEvaluator
.Arguments();
1369
(FoldAccuracy,
BinaryClassifierEvaluator
.Accuracy),
1370
(FoldLogLoss,
BinaryClassifierEvaluator
.LogLoss),
1371
(FoldLogLosRed,
BinaryClassifierEvaluator
.LogLossReduction)
1377
colsToKeep.Add(
BinaryClassifierEvaluator
.Entropy);
1379
colsToKeep.Add(
BinaryClassifierEvaluator
.Auc);
1410
return ColumnSelectingTransformer.CreateDrop(Host, overall,
BinaryClassifierEvaluator
.Entropy);
1433
yield return new MetricColumn("Accuracy",
BinaryClassifierEvaluator
.Accuracy);
1434
yield return new MetricColumn("PosPrec",
BinaryClassifierEvaluator
.PosPrecName);
1435
yield return new MetricColumn("PosRecall",
BinaryClassifierEvaluator
.PosRecallName);
1436
yield return new MetricColumn("NegPrec",
BinaryClassifierEvaluator
.NegPrecName);
1437
yield return new MetricColumn("NegRecall",
BinaryClassifierEvaluator
.NegRecallName);
1438
yield return new MetricColumn("Auc",
BinaryClassifierEvaluator
.Auc);
1439
yield return new MetricColumn("LogLoss",
BinaryClassifierEvaluator
.LogLoss, MetricColumn.Objective.Minimize);
1440
yield return new MetricColumn("LogLossReduction",
BinaryClassifierEvaluator
.LogLossReduction);
1441
yield return new MetricColumn("F1",
BinaryClassifierEvaluator
.F1);
1442
yield return new MetricColumn("AuPrc",
BinaryClassifierEvaluator
.AuPrc);
1458
if (!dict.TryGetValue(
BinaryClassifierEvaluator
.PrCurve, out idv))
Evaluators\Metrics\AnomalyDetectionMetrics.cs (1)
43
AreaUnderRocCurve = FetchDouble(
BinaryClassifierEvaluator
.Auc);
Evaluators\Metrics\BinaryClassificationMetrics.cs (8)
101
AreaUnderRocCurve = Fetch(
BinaryClassifierEvaluator
.Auc);
102
Accuracy = Fetch(
BinaryClassifierEvaluator
.Accuracy);
103
PositivePrecision = Fetch(
BinaryClassifierEvaluator
.PosPrecName);
104
PositiveRecall = Fetch(
BinaryClassifierEvaluator
.PosRecallName);
105
NegativePrecision = Fetch(
BinaryClassifierEvaluator
.NegPrecName);
106
NegativeRecall = Fetch(
BinaryClassifierEvaluator
.NegRecallName);
107
F1Score = Fetch(
BinaryClassifierEvaluator
.F1);
108
AreaUnderPrecisionRecallCurve = Fetch(
BinaryClassifierEvaluator
.AuPrc);
Evaluators\Metrics\CalibratedBinaryClassificationMetrics.cs (3)
68
LogLoss = Fetch(
BinaryClassifierEvaluator
.LogLoss);
69
LogLossReduction = Fetch(
BinaryClassifierEvaluator
.LogLossReduction);
70
Entropy = Fetch(
BinaryClassifierEvaluator
.Entropy);
Evaluators\Metrics\ConfusionMatrix.cs (1)
54
/// The confusion matrix as a structured type, built from the counts of the confusion table <see cref="IDataView"/> that the <see cref="
BinaryClassifierEvaluator
"/> or
TrainCatalog.cs (4)
211
var
eval = new BinaryClassifierEvaluator(Environment, new
BinaryClassifierEvaluator
.Arguments() { });
230
var
eval = new BinaryClassifierEvaluator(Environment, new
BinaryClassifierEvaluator
.Arguments() { });