1 write to _context
Microsoft.ML.Fairlearn (1)
Metrics\FairlearnMetricCatalog.cs (1)
49
_context
= context;
4 references to _context
Microsoft.ML.Fairlearn (4)
Metrics\FairlearnMetricCatalog.cs (4)
68
var convertToString =
_context
.Transforms.Conversion.ConvertType(sensitiveCol.Name, sensitiveCol.Name, DataKind.String);
94
.ToDictionary(group => group.Key, group =>
_context
.Data.LoadFromEnumerable(group.Select(g => g.Item2)));
96
var groupMetric = res.Select(kv => (kv.Key,
_context
.BinaryClassification.EvaluateNonCalibrated(kv.Value)))
115
CalibratedBinaryClassificationMetrics metrics =
_context
.BinaryClassification.Evaluate(_eval, _labelColumn);