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 89719c6 commit e8d2516Copy full SHA for e8d2516
pycanon/utility/_reidentification_metrics.py
@@ -17,14 +17,14 @@
17
import typing
18
import numpy as np
19
import pandas as pd
20
-from pycanon import anonymity
21
from pycanon.anonymity.utils import aux_anonymity
22
+
23
def average_rir(
24
data_anon: pd.DataFrame,
25
quasi_ident: typing.Union[typing.List, np.ndarray]
26
) -> float:
27
- """ Calculate the average re-identification risk metric
+ """Calculate the average re-identification risk metric.
28
29
:param data_anon: dataframe with the data anonymized.
30
:type data_anon: pandas dataframe
0 commit comments