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)
68var 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))); 96var groupMetric = res.Select(kv => (kv.Key, _context.BinaryClassification.EvaluateNonCalibrated(kv.Value))) 115CalibratedBinaryClassificationMetrics metrics = _context.BinaryClassification.Evaluate(_eval, _labelColumn);