AnonymizeMetrics

AnonymizeResult encapsulates the response from a ARXaaS anonymize call

class pyarxaas.models.anonymization_metrics.AnonymizationMetrics(metrics: collections.abc.Mapping)[source]

Understand metrics from a anonymization process

attribute_generalization

Property for getting the attribute generalization

Returns:Returns a dict containing all the quasi-identifying attributes and the transformation level used to anonymize the dataset.
elapsed_time

Property for getting the elapsed time for the anonymization process

Returns:Returns the elapsed time in miliseconds
privacy_models

Property for getting the privacy models with the configurations used in the anonymization process.

Returns:Returns a dict containing all the privacy models with the configuration used.