Package org.deidentifier.arx.metric.v2
Klasse MetricMDNUEntropyPrecomputed
java.lang.Object
org.deidentifier.arx.metric.Metric<AbstractILMultiDimensional>
org.deidentifier.arx.metric.v2.AbstractMetricMultiDimensional
org.deidentifier.arx.metric.v2.MetricMDNUEntropyPrecomputed
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
MetricMDNUEntropy,MetricMDNUNMEntropyPrecomputed
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.
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:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.deidentifier.arx.metric.Metric
Metric.AggregateFunction -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungMetricMDNUEntropyPrecomputed(boolean monotonicWithGeneralization, boolean monotonicWithSuppression, boolean independent, double gsFactor, Metric.AggregateFunction function) Precomputed. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the configuration of this metric.getScore(org.deidentifier.arx.framework.lattice.Transformation<?> node, org.deidentifier.arx.framework.check.groupify.HashGroupify groupify) Calculates the score.booleanReturns whether a generalization/suppression factor is supportedbooleanReturns whether the metric is precomputedbooleanReturns whether the metric provides a score functionrender(ARXConfiguration config) Renders the privacy modeltoString()Returns the name of metric.Von Klasse geerbte Methoden org.deidentifier.arx.metric.v2.AbstractMetricMultiDimensional
createMaxInformationLoss, createMinInformationLoss, getAggregateFunctionVon Klasse geerbte Methoden org.deidentifier.arx.metric.Metric
createAECSMetric, createAECSMetric, createAmbiguityMetric, createClassificationMetric, createClassificationMetric, createDiscernabilityMetric, createDiscernabilityMetric, createEntropyBasedInformationLossMetric, createEntropyBasedInformationLossMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createEntropyMetric, createHeightMetric, createHeightMetric, createInstanceOfHighestScore, createInstanceOfLowestScore, createKLDivergenceMetric, createLossMetric, createLossMetric, createLossMetric, createLossMetric, createMetric, createNormalizedEntropyMetric, createNormalizedEntropyMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecisionMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedEntropyMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedLossMetric, createPrecomputedNormalizedEntropyMetric, createPrecomputedNormalizedEntropyMetric, createPublisherPayoutMetric, createPublisherPayoutMetric, createStaticMetric, createStaticMetric, getDescription, getGeneralizationFactor, getGeneralizationSuppressionFactor, getInformationLoss, getInformationLoss, getLowerBound, getLowerBound, getName, getSuppressionFactor, initialize, isAbleToHandleClusteredMicroaggregation, isAbleToHandleMicroaggregation, isIndependent, isMonotonic, isMonotonicWithGeneralization, isMonotonicWithSuppression, isMultiDimensional, isWeighted, list
-
Konstruktordetails
-
MetricMDNUEntropyPrecomputed
public MetricMDNUEntropyPrecomputed(boolean monotonicWithGeneralization, boolean monotonicWithSuppression, boolean independent, double gsFactor, Metric.AggregateFunction function) Precomputed.- Parameter:
monotonicWithGeneralization-monotonicWithSuppression-independent-gsFactor-function-
-
-
Methodendetails
-
getConfiguration
Returns the configuration of this metric.- Setzt außer Kraft:
getConfigurationin KlasseMetric<AbstractILMultiDimensional>- Gibt zurück:
-
getScore
public ILScore getScore(org.deidentifier.arx.framework.lattice.Transformation<?> node, org.deidentifier.arx.framework.check.groupify.HashGroupify groupify) Beschreibung aus Klasse kopiert:MetricCalculates the score. Note: All score functions are expected to return a score value divided by the sensitivity of the score function.- Setzt außer Kraft:
getScorein KlasseMetric<AbstractILMultiDimensional>- Parameter:
node-groupify-- Gibt zurück:
-
isGSFactorSupported
public boolean isGSFactorSupported()Beschreibung aus Klasse kopiert:MetricReturns whether a generalization/suppression factor is supported- Setzt außer Kraft:
isGSFactorSupportedin KlasseMetric<AbstractILMultiDimensional>- Gibt zurück:
-
isPrecomputed
public boolean isPrecomputed()Beschreibung aus Klasse kopiert:MetricReturns whether the metric is precomputed- Setzt außer Kraft:
isPrecomputedin KlasseMetric<AbstractILMultiDimensional>- Gibt zurück:
-
isScoreFunctionSupported
public boolean isScoreFunctionSupported()Beschreibung aus Klasse kopiert:MetricReturns whether the metric provides a score function- Setzt außer Kraft:
isScoreFunctionSupportedin KlasseMetric<AbstractILMultiDimensional>- Gibt zurück:
-
render
Beschreibung aus Klasse kopiert:MetricRenders the privacy model- Angegeben von:
renderin KlasseMetric<AbstractILMultiDimensional>- Gibt zurück:
-
toString
Beschreibung aus Klasse kopiert:MetricReturns the name of metric.- Setzt außer Kraft:
toStringin KlasseMetric<AbstractILMultiDimensional>- Gibt zurück:
-