Package org.deidentifier.arx.metric.v2
Klasse MetricMDNMLossPrecomputed
java.lang.Object
org.deidentifier.arx.metric.Metric<AbstractILMultiDimensional>
org.deidentifier.arx.metric.v2.AbstractMetricMultiDimensional
org.deidentifier.arx.metric.v2.MetricMDNMLoss
org.deidentifier.arx.metric.v2.MetricMDNMLossPrecomputed
- Alle implementierten Schnittstellen:
Serializable
This class implements a variant of the Loss metric.
TODO: Add reference.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.deidentifier.arx.metric.Metric
Metric.AggregateFunction -
Feldübersicht
Von Klasse geerbte Felder org.deidentifier.arx.metric.v2.AbstractMetricMultiDimensional
k -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCreates a new instance.protectedMetricMDNMLossPrecomputed(double gsFactor, Metric.AggregateFunction function) Creates a new instance.protectedCreates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the configuration of this metric.protected AbstractILMultiDimensionalgetLowerBoundInternal(org.deidentifier.arx.framework.lattice.Transformation<?> node) Returns a lower bound for the information loss for the given node.protected AbstractILMultiDimensionalgetLowerBoundInternal(org.deidentifier.arx.framework.lattice.Transformation<?> node, org.deidentifier.arx.framework.check.groupify.HashGroupify g) Returns a lower bound for the information loss for the given node.protected voidinitializeInternal(org.deidentifier.arx.framework.data.DataManager manager, DataDefinition definition, org.deidentifier.arx.framework.data.Data input, org.deidentifier.arx.framework.data.GeneralizationHierarchy[] hierarchies, ARXConfiguration config) Implement this to initialize the metric.booleanReturns whether this metric handles microaggregationbooleanReturns whether a generalization/suppression factor is supportedbooleanReturns whether the metric is precomputedrender(ARXConfiguration config) Renders the privacy modelVon Klasse geerbte Methoden org.deidentifier.arx.metric.v2.MetricMDNMLoss
getGeneralizationFactor, getGeneralizationSuppressionFactor, getInformationLossInternal, getInformationLossInternal, getName, getScore, getShares, getSuppressionFactor, isScoreFunctionSupported, normalizeAggregated, normalizeGeneralized, toStringVon Klasse geerbte Methoden org.deidentifier.arx.metric.v2.AbstractMetricMultiDimensional
createInformationLoss, createMaxInformationLoss, createMinInformationLoss, getAggregateFunction, getAggregationFunctionsGeneralized, getAggregationFunctionsNonGeneralized, getAggregationIndicesGeneralized, getAggregationIndicesNonGeneralized, getAggregationInformation, getDimensions, getDimensionsAggregated, getDimensionsGeneralized, initialize, setMax, setMinVon 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, getDescription, getInformationLoss, getInformationLoss, getLowerBound, getLowerBound, getNumRecords, getSubset, initialize, isAbleToHandleClusteredMicroaggregation, isIndependent, isMonotonic, isMonotonicWithGeneralization, isMonotonicWithSuppression, isMultiDimensional, isWeighted, list, round
-
Konstruktordetails
-
MetricMDNMLossPrecomputed
protected MetricMDNMLossPrecomputed()Creates a new instance. -
MetricMDNMLossPrecomputed
Creates a new instance.- Parameter:
function-
-
MetricMDNMLossPrecomputed
Creates a new instance.- Parameter:
gsFactor-function-
-
-
Methodendetails
-
getConfiguration
Returns the configuration of this metric.- Setzt außer Kraft:
getConfigurationin KlasseMetricMDNMLoss- Gibt zurück:
-
isAbleToHandleMicroaggregation
public boolean isAbleToHandleMicroaggregation()Beschreibung aus Klasse kopiert:MetricReturns whether this metric handles microaggregation- Setzt außer Kraft:
isAbleToHandleMicroaggregationin KlasseMetricMDNMLoss- Gibt zurück:
-
isGSFactorSupported
public boolean isGSFactorSupported()Beschreibung aus Klasse kopiert:MetricReturns whether a generalization/suppression factor is supported- Setzt außer Kraft:
isGSFactorSupportedin KlasseMetricMDNMLoss- 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:
-
render
Beschreibung aus Klasse kopiert:MetricRenders the privacy model- Setzt außer Kraft:
renderin KlasseMetricMDNMLoss- Gibt zurück:
-
getLowerBoundInternal
protected AbstractILMultiDimensional getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Transformation<?> node) Beschreibung aus Klasse kopiert:MetricReturns a lower bound for the information loss for the given node. This can be used to expose the results of monotonic shares of a metric, which can significantly speed-up the anonymization process. If no such metric exists, simply returnnull.- Setzt außer Kraft:
getLowerBoundInternalin KlasseMetricMDNMLoss- Parameter:
node-- Gibt zurück:
-
getLowerBoundInternal
protected AbstractILMultiDimensional getLowerBoundInternal(org.deidentifier.arx.framework.lattice.Transformation<?> node, org.deidentifier.arx.framework.check.groupify.HashGroupify g) Beschreibung aus Klasse kopiert:MetricReturns a lower bound for the information loss for the given node. This can be used to expose the results of monotonic shares of a metric, which can significantly speed-up the anonymization process. If no such metric exists, simply returnnull.
This variant of the method allows computing a monotonic share based on a groupified data representation. IMPORTANT NOTE: The groups may not have been classified correctly when the method is called, i.e., HashGroupifyEntry.isNotOutlier may not be set correctly!- Setzt außer Kraft:
getLowerBoundInternalin KlasseMetricMDNMLoss- Parameter:
node-g-- Gibt zurück:
-
initializeInternal
protected void initializeInternal(org.deidentifier.arx.framework.data.DataManager manager, DataDefinition definition, org.deidentifier.arx.framework.data.Data input, org.deidentifier.arx.framework.data.GeneralizationHierarchy[] hierarchies, ARXConfiguration config) Beschreibung aus Klasse kopiert:MetricImplement this to initialize the metric.- Setzt außer Kraft:
initializeInternalin KlasseMetricMDNMLoss- Parameter:
manager-definition-input-hierarchies-config-
-