ksb.csle.didentification.verification.check
Gets the l-diversity value of this equivalence class.
Gets the l-diversity value of this equivalence class. Note that this function checks the l-diversity value in an single equivalence class, not the dataframe. that is, the 'senslist' is the list of senstivie contents in an single equivalence class.
Double The l-diversity value
The common L-diversity method just checks whether the number of sensitive attributes is greater than given L-constraints.
The common L-diversity method just checks whether the number of sensitive attributes is greater than given L-constraints. Generally, an equivalence class is l-diverse if contains at least 'l' well-represented values for the sensitive attribute. A table is l-diverse if every equivalence is l-diverse
The anonymized dataframe
Double return the l-diversity value
Checks the anonymized dataframe satisfies the given l-Diversity constraint.
Checks the anonymized dataframe satisfies the given l-Diversity constraint.
The anonymized dataframe
the given l-diversity constraint
Boolean return true if satisfying the given l-diversity constraint
This class checks whether the anonymized data satisfies the common L-diversity constraint. Note that this class checks the l-diversity value in an single equivalence class, not the dataframe.