ksb.csle.didentification.verification.check
Checks the anonymized dataframe satisfies the given l-Diversity constraint.
Checks the anonymized dataframe satisfies the given l-Diversity constraint.
The anonymized dataframe
the l value of given (c,l)-diversity constraint
the c value of given (c,l)-diversity constraint
Boolean return true if satisfying the given l-diversity constraint
The recursive L-diversity constraint checks the following conditions.
The recursive L-diversity constraint checks the following conditions.
In a given equivalence class, let r_i denote the number of times the i-th most frequent sensitive value appears in that equivalence class. Given a constant c, the equivalence class satisfies recursive (c,l)-diverse if r_1 < c(r_l + r_(l+1) + r_m)
A table satisfies recursive (c,l)-diversity if every equivalence class satisfies recursive l-diversity.
the list of sensitive attributes
Boolean return true when satisfying privacy policy
This class checks whether the anonymized data satisfies the recursive L-diversity constraint.Note that this class checks the l-diversity value in an single equivalence class, not the dataframe.