File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ def __init__(
88
88
Args:
89
89
label_values_or_threshold (Any): List of label values or threshold to indicate positive
90
90
outcome used for bias metrics.
91
- facet_name (str or [str]): String or List of strings of sensitive attribute(s) in the input data
92
- for which we like to compare metrics.
91
+ facet_name (str or [str]): String or List of strings of sensitive attribute(s) in the
92
+ input data for which we like to compare metrics.
93
93
facet_values_or_threshold (list): Optional list of values to form a sensitive group or
94
94
threshold for a numeric facet column that defines the lower bound of a sensitive
95
95
group. Defaults to considering each possible value as sensitive group and
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def test_data_bias_config_multi_facet():
108
108
{"name_or_index" : facet_name [0 ], "value_or_threshold" : facet_threshold [0 ]},
109
109
{"name_or_index" : facet_name [1 ], "value_or_threshold" : facet_threshold [1 ]},
110
110
],
111
- "group_variable" : group_name
111
+ "group_variable" : group_name ,
112
112
}
113
113
assert expected_config == data_bias_config .get_config ()
114
114
@@ -132,7 +132,7 @@ def test_data_bias_config_multi_facet_not_all_with_value():
132
132
{"name_or_index" : facet_name [0 ], "value_or_threshold" : facet_threshold [0 ]},
133
133
{"name_or_index" : facet_name [1 ]},
134
134
],
135
- "group_variable" : group_name
135
+ "group_variable" : group_name ,
136
136
}
137
137
assert expected_config == data_bias_config .get_config ()
138
138
You can’t perform that action at this time.
0 commit comments