public class MetricSDNMEntropyBasedInformationLoss extends AbstractMetricSingleDimensional
Metric.AggregateFunction| Constructor and Description |
|---|
MetricSDNMEntropyBasedInformationLoss()
Creates a new instance.
|
MetricSDNMEntropyBasedInformationLoss(double gsFactor)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ILSingleDimensional |
createMaxInformationLoss()
Returns an instance of the maximal value.
|
ILSingleDimensional |
createMinInformationLoss()
Returns an instance of the minimal value.
|
MetricConfiguration |
getConfiguration()
Returns the configuration of this metric.
|
static double |
getEntropyBasedInformationLoss(org.deidentifier.arx.framework.lattice.Transformation<?> transformation,
org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry,
DomainShare[] shares,
org.deidentifier.arx.framework.data.DataAggregationInformation aggregation,
double maxIL)
Implements the entropy-based IL model.
|
static double |
getMaximalEntropyBasedInformationLoss(DomainShare[] domainShares,
org.deidentifier.arx.framework.data.DataAggregationInformation aggregation)
Returns the maximal entropy-based information loss
|
java.lang.String |
getName()
Returns the name of metric.
|
boolean |
isAbleToHandleMicroaggregation()
Returns whether this metric handles microaggregation
|
boolean |
isGSFactorSupported()
Returns whether a generalization/suppression factor is supported
|
ElementData |
render(ARXConfiguration config)
Renders the privacy model
|
java.lang.String |
toString()
Returns the name of metric.
|
createInformationLoss, createInformationLosscreateAECSMetric, 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, getAggregateFunction, getDescription, getGeneralizationFactor, getGeneralizationSuppressionFactor, getInformationLoss, getInformationLoss, getLowerBound, getLowerBound, getScore, getSuppressionFactor, initialize, isAbleToHandleClusteredMicroaggregation, isIndependent, isMonotonic, isMonotonicWithGeneralization, isMonotonicWithSuppression, isMultiDimensional, isPrecomputed, isScoreFunctionSupported, isWeighted, listpublic MetricSDNMEntropyBasedInformationLoss()
public MetricSDNMEntropyBasedInformationLoss(double gsFactor)
gsFactor - A factor [0,1] weighting generalization and suppression.
The default value is 0.5, which means that generalization
and suppression will be treated equally. A factor of 0
will favor suppression, and a factor of 1 will favor
generalization. The values in between can be used for
balancing both methods.public static double getEntropyBasedInformationLoss(org.deidentifier.arx.framework.lattice.Transformation<?> transformation,
org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry,
DomainShare[] shares,
org.deidentifier.arx.framework.data.DataAggregationInformation aggregation,
double maxIL)
transformation - entry - shares - aggregation - maxIL - public static double getMaximalEntropyBasedInformationLoss(DomainShare[] domainShares, org.deidentifier.arx.framework.data.DataAggregationInformation aggregation)
domainShares - For generalized attributesaggregation - For microaggregated attributespublic ILSingleDimensional createMaxInformationLoss()
MetriccreateMaxInformationLoss in class AbstractMetricSingleDimensionalpublic ILSingleDimensional createMinInformationLoss()
MetriccreateMinInformationLoss in class AbstractMetricSingleDimensionalpublic MetricConfiguration getConfiguration()
getConfiguration in class Metric<ILSingleDimensional>public java.lang.String getName()
MetricgetName in class Metric<ILSingleDimensional>public boolean isAbleToHandleMicroaggregation()
MetricisAbleToHandleMicroaggregation in class Metric<ILSingleDimensional>public boolean isGSFactorSupported()
MetricisGSFactorSupported in class Metric<ILSingleDimensional>public ElementData render(ARXConfiguration config)
Metricrender in class Metric<ILSingleDimensional>public java.lang.String toString()
MetrictoString in class Metric<ILSingleDimensional>