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