2 writes to Accuracy
Microsoft.ML.Data (2)
Evaluators\Metrics\BinaryClassificationMetrics.cs (2)
102
Accuracy
= Fetch(BinaryClassifierEvaluator.Accuracy);
117
Accuracy
= accuracy;
63 references to Accuracy
Microsoft.ML.AutoML (5)
API\BinaryClassificationExperiment.cs (2)
61
/// See <see cref="BinaryClassificationMetrics.
Accuracy
"/>.
475
BinaryClassificationMetric.Accuracy => metrics.
Accuracy
,
AutoMLExperiment\IMetricManager.cs (1)
60
BinaryClassificationMetric.Accuracy => metric.
Accuracy
,
Experiment\MetricsAgents\BinaryMetricsAgent.cs (1)
31
return metrics.
Accuracy
;
Experiment\Runners\CrossValSummaryRunner.cs (1)
103
accuracy: GetAverageOfNonNaNScores(newMetrics.Select(x => x.
Accuracy
)),
Microsoft.ML.AutoML.Samples (3)
AutoFit\BinaryClassificationExperiment.cs (1)
64
Console.WriteLine($"Accuracy: {metrics.
Accuracy
}");
AutoMLExperiment.cs (1)
130
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Sweepable\SweepableLightGBMBinaryExperiment.cs (1)
157
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Microsoft.ML.AutoML.Tests (5)
AutoFitTests.cs (4)
61
Assert.True(result.BestRun.ValidationMetrics.
Accuracy
> 0.70);
88
result.BestRun.ValidationMetrics.
Accuracy
.Should().BeGreaterOrEqualTo(0.7);
115
Assert.True(result.BestRun.ValidationMetrics.
Accuracy
> 0.70);
140
Assert.True(result.BestRun.Results.Select(x => x.ValidationMetrics.
Accuracy
).Min() > 0.70);
GetNextPipelineTests.cs (1)
42
var score = context.BinaryClassification.EvaluateNonCalibrated(scoredData).
Accuracy
;
Microsoft.ML.Fairlearn (3)
Metrics\FairlearnMetricCatalog.cs (2)
102
result["Accuracy"] = DataFrameColumn.Create("Accuracy", groupMetric.Keys.Select(k => groupMetric[k].
Accuracy
));
121
{ "Accuracy", metrics.
Accuracy
},
Reductions\GridSearchTrialRunner.cs (1)
92
metric = metrics.
Accuracy
- fairnessLost;
Microsoft.ML.IntegrationTests (1)
Common.cs (1)
178
Assert.InRange(metrics.
Accuracy
, 0, 1);
Microsoft.ML.Predictor.Tests (1)
TestIniModels.cs (1)
591
Assert.Equal(0.96995708154506433, results.
Accuracy
);
Microsoft.ML.Samples (28)
Dynamic\Trainers\BinaryClassification\AveragedPerceptron.cs (1)
128
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (1)
139
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\FactorizationMachine.cs (1)
136
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\FastForest.cs (1)
131
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\FastForestWithOptions.cs (1)
143
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\FastTree.cs (1)
134
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (1)
146
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachine.cs (1)
195
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (1)
206
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (1)
131
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (1)
140
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\LdSvm.cs (1)
128
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\LdSvmWithOptions.cs (1)
137
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\LightGbm.cs (1)
131
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\LightGbmWithOptions.cs (1)
142
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (1)
128
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (1)
137
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\PriorTrainer.cs (1)
128
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegression.cs (1)
136
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (1)
148
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\SdcaNonCalibrated.cs (1)
135
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (1)
150
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\SgdCalibrated.cs (1)
128
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\SgdCalibratedWithOptions.cs (1)
140
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\SgdNonCalibrated.cs (1)
128
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\SgdNonCalibratedWithOptions.cs (1)
137
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegression.cs (1)
131
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegressionWithOptions.cs (1)
140
Console.WriteLine($"Accuracy: {metrics.
Accuracy
:F2}");
Microsoft.ML.Samples.OneDal (2)
Program.cs (2)
89
metrics[0] = trainingMetrics.
Accuracy
;
90
metrics[1] = testingMetrics.
Accuracy
;
Microsoft.ML.Tests (11)
TrainerEstimators\FAFMEstimator.cs (2)
34
Assert.InRange(metrics.
Accuracy
, 0.6, 1);
60
Assert.InRange(metrics.
Accuracy
, 0.9, 1);
TrainerEstimators\OneDalEstimators.cs (1)
79
Assert.True(testingMetrics.
Accuracy
> 0.8);
TrainerEstimators\TrainerEstimators.cs (3)
110
Assert.InRange(metrics.
Accuracy
, 0.8, 1);
141
Assert.InRange(metrics.
Accuracy
, 0.7, 1);
182
Assert.InRange(metrics.
Accuracy
, 0.7, 1);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (5)
344
Assert.True(metrics.
Accuracy
> naiveMetrics.
Accuracy
);
383
Assert.True(metrics.
Accuracy
> 0.98);
422
Assert.True(metrics.
Accuracy
> 0.97);
757
Assert.True(metrics.
Accuracy
> 0.98);
Microsoft.ML.Transforms (4)
MetricStatistics.cs (2)
150
/// Summary Statistics for <see cref="BinaryClassificationMetrics.
Accuracy
"/>.
203
Accuracy.Add(metrics.
Accuracy
);
PermutationFeatureImportanceExtensions.cs (2)
316
accuracy: a.
Accuracy
- b.
Accuracy
,