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