You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
260 lines
10 KiB
Python
260 lines
10 KiB
Python
6 years ago
|
"""
|
||
|
Health Information Privacy Lab
|
||
6 years ago
|
@TODO:
|
||
6 years ago
|
pop_size = -1
|
||
6 years ago
|
:cols list of columns of interest or policies
|
||
|
:flag user provided flag for the context of the evaluation
|
||
6 years ago
|
"""
|
||
|
groups = self.cache['groups']
|
||
|
group_count = groups.size
|
||
|
row_count = groups.sum()
|
||
|
return group_count / np.float64(row_count)
|
||
6 years ago
|
"""
|