2 writes to F1Score
Microsoft.ML.Data (2)
Evaluators\Metrics\BinaryClassificationMetrics.cs (2)
107
F1Score
= Fetch(BinaryClassifierEvaluator.F1);
122
F1Score
= f1Score;
46 references to F1Score
Microsoft.ML.AutoML (5)
API\BinaryClassificationExperiment.cs (2)
76
/// See <see cref="BinaryClassificationMetrics.
F1Score
"/>.
481
BinaryClassificationMetric.F1Score => metrics.
F1Score
,
AutoMLExperiment\IMetricManager.cs (1)
67
BinaryClassificationMetric.F1Score => metric.
F1Score
,
Experiment\MetricsAgents\BinaryMetricsAgent.cs (1)
37
return metrics.
F1Score
;
Experiment\Runners\CrossValSummaryRunner.cs (1)
108
f1Score: GetAverageOfNonNaNScores(newMetrics.Select(x => x.
F1Score
)),
Microsoft.ML.AutoML.Samples (3)
AutoFit\BinaryClassificationExperiment.cs (1)
67
Console.WriteLine($"F1Score: {metrics.
F1Score
}");
AutoMLExperiment.cs (1)
132
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Sweepable\SweepableLightGBMBinaryExperiment.cs (1)
159
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Microsoft.ML.Fairlearn (2)
Metrics\FairlearnMetricCatalog.cs (2)
107
result["F1Score"] = DataFrameColumn.Create("F1Score", groupMetric.Keys.Select(k => groupMetric[k].
F1Score
));
126
{ "F1Score", metrics.
F1Score
},
Microsoft.ML.IntegrationTests (1)
Common.cs (1)
181
Assert.InRange(metrics.
F1Score
, 0, 1);
Microsoft.ML.Predictor.Tests (1)
TestIniModels.cs (1)
594
Assert.Equal(0.95670103092783509, results.
F1Score
);
Microsoft.ML.Samples (28)
Dynamic\Trainers\BinaryClassification\AveragedPerceptron.cs (1)
130
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (1)
141
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\FactorizationMachine.cs (1)
138
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\FastForest.cs (1)
133
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\FastForestWithOptions.cs (1)
145
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\FastTree.cs (1)
136
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (1)
148
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachine.cs (1)
197
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (1)
208
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (1)
133
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (1)
142
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\LdSvm.cs (1)
130
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\LdSvmWithOptions.cs (1)
139
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\LightGbm.cs (1)
133
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\LightGbmWithOptions.cs (1)
144
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (1)
130
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (1)
139
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\PriorTrainer.cs (1)
130
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegression.cs (1)
138
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (1)
150
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\SdcaNonCalibrated.cs (1)
137
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (1)
152
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\SgdCalibrated.cs (1)
130
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\SgdCalibratedWithOptions.cs (1)
142
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\SgdNonCalibrated.cs (1)
130
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\SgdNonCalibratedWithOptions.cs (1)
139
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegression.cs (1)
133
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegressionWithOptions.cs (1)
142
Console.WriteLine($"F1 Score: {metrics.
F1Score
:F2}");
Microsoft.ML.Samples.OneDal (2)
Program.cs (2)
91
metrics[2] = trainingMetrics.
F1Score
;
92
metrics[3] = testingMetrics.
F1Score
;
Microsoft.ML.Transforms (4)
MetricStatistics.cs (2)
175
/// Summary statistics for <see cref="BinaryClassificationMetrics.
F1Score
"/>.
208
F1Score.Add(metrics.
F1Score
);
PermutationFeatureImportanceExtensions.cs (2)
321
f1Score: a.
F1Score
- b.
F1Score
,