Klasse MetricMDNUEntropyPrecomputed

Alle implementierten Schnittstellen:
Serializable
Bekannte direkte Unterklassen:
MetricMDNUEntropy, MetricMDNUNMEntropyPrecomputed

public class MetricMDNUEntropyPrecomputed extends AbstractMetricMultiDimensional
This class provides an efficient implementation of the non-uniform entropy metric. It avoids a cell-by-cell process by utilizing a three-dimensional array that maps identifiers to their frequency for all quasi-identifiers and generalization levels. It further reduces the overhead induced by subsequent calls by caching the results for previous columns and generalization levels. See:
A. De Waal and L. Willenborg: "Information loss through global recoding and local suppression" Netherlands Off Stat, vol. 14, pp. 17–20, 1999.
Siehe auch:
  • Konstruktordetails

    • MetricMDNUEntropyPrecomputed

      public MetricMDNUEntropyPrecomputed(boolean monotonicWithGeneralization, boolean monotonicWithSuppression, boolean independent, double gsFactor, Metric.AggregateFunction function)
      Precomputed.
      Parameter:
      monotonicWithGeneralization -
      monotonicWithSuppression -
      independent -
      gsFactor -
      function -
    • MetricMDNUEntropyPrecomputed

      protected MetricMDNUEntropyPrecomputed()
      Creates a new instance.
    • MetricMDNUEntropyPrecomputed

      protected MetricMDNUEntropyPrecomputed(double gsFactor, Metric.AggregateFunction function)
      Creates a new instance.
      Parameter:
      gsFactor -
      function -
  • Methodendetails