16 references to IsPerfectModel
Microsoft.ML.AutoML.Tests (16)
MetricsAgentsTests.cs (16)
37Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.Accuracy));
38Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.AreaUnderRocCurve));
39Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.AreaUnderPrecisionRecallCurve));
40Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.F1Score));
41Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.NegativePrecision));
42Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.NegativeRecall));
43Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.PositivePrecision));
44Assert.False(IsPerfectModel(metrics, BinaryClassificationMetric.PositiveRecall));
51Assert.True(IsPerfectModel(metrics, BinaryClassificationMetric.Accuracy));
52Assert.True(IsPerfectModel(metrics, BinaryClassificationMetric.AreaUnderRocCurve));
53Assert.True(IsPerfectModel(metrics, BinaryClassificationMetric.AreaUnderPrecisionRecallCurve));
54Assert.True(IsPerfectModel(metrics, BinaryClassificationMetric.F1Score));
55Assert.True(IsPerfectModel(metrics, BinaryClassificationMetric.NegativePrecision));
56Assert.True(IsPerfectModel(metrics, BinaryClassificationMetric.NegativeRecall));
57Assert.True(IsPerfectModel(metrics, BinaryClassificationMetric.PositivePrecision));
58Assert.True(IsPerfectModel(metrics, BinaryClassificationMetric.PositiveRecall));