1 write to Tags
Microsoft.ML.Fairlearn (1)
Reductions\Moment.cs (1)
49
Tags
= new DataFrame();
10 references to Tags
Microsoft.ML.Fairlearn (10)
Reductions\Moment.cs (3)
31
public DataFrameColumn SensitiveFeatureColumn { get =>
Tags
["group_id"]; }
50
Tags
["label"] = label;
51
Tags
["group_id"] = sensitiveFeature;
Reductions\UtilityParity.cs (7)
84
ProbGroupEvent =
Tags
.GroupBy("group_id").Count()["label"] / (TotalSamples * 1.0);
93
Tags
["pred"] = yPred;
97
var expectEvent =
Tags
["pred"].Mean();
98
var expectGroupEvent =
Tags
.GroupBy("group_id").Mean("pred").OrderBy(("group_id"))["pred"];
112
var groupID =
Tags
.GroupBy("group_id").Mean("pred").OrderBy("group_id")["group_id"];
150
long dataSetLength =
Tags
.Rows.Count();
154
foreach (DataFrameRow row in
Tags
.Rows)