1 write to mlContext
Microsoft.ML.Fairlearn.Tests (1)
MetricTest.cs (1)
18
mlContext
= new MLContext();
3 references to mlContext
Microsoft.ML.Fairlearn.Tests (3)
MetricTest.cs (3)
19
data =
mlContext
.Data.LoadFromEnumerable(houseData);
39
RegressionGroupMetric regressionMetric =
mlContext
.Fairlearn().Metric.Regression(eval: data, labelColumn: "Price", scoreColumn: "Score", sensitiveFeatureColumn: "Gender");
71
BinaryGroupMetric metrics =
mlContext
.Fairlearn().Metric.BinaryClassification(eval: df, labelColumn: "label", predictedColumn: "PredictedLabel", sensitiveFeatureColumn: "group_id");