We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b250032 commit 89719c6Copy full SHA for 89719c6
pycanon/utility/_reidentification_metrics.py
@@ -34,5 +34,5 @@ def average_rir(
34
:type quasi_ident: list of strings
35
"""
36
equiv_class = aux_anonymity.get_equiv_class(data_anon, quasi_ident)
37
- avg_rir = np.mean([1/len(ec) for ec in equiv_class])
+ avg_rir = np.mean([1 / len(ec) for ec in equiv_class])
38
return avg_rir
0 commit comments