Package org.deidentifier.arx.metric.v2
Klasse MetricMDNMLossPotentiallyPrecomputed
java.lang.Object
org.deidentifier.arx.metric.Metric<AbstractILMultiDimensional>
org.deidentifier.arx.metric.v2.AbstractMetricMultiDimensional
org.deidentifier.arx.metric.v2.AbstractMetricMultiDimensionalPotentiallyPrecomputed
org.deidentifier.arx.metric.v2.MetricMDNMLossPotentiallyPrecomputed
- Alle implementierten Schnittstellen:
Serializable
public class MetricMDNMLossPotentiallyPrecomputed
extends AbstractMetricMultiDimensionalPotentiallyPrecomputed
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedMetricMDNMLossPotentiallyPrecomputed(double threshold) Creates a new instance.protectedMetricMDNMLossPotentiallyPrecomputed(double threshold, double gsFactor, Metric.AggregateFunction function) Creates a new instance.protectedMetricMDNMLossPotentiallyPrecomputed(double threshold, Metric.AggregateFunction function) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the configuration of this metric.doubleReturns the factor used weight generalized values.doubleReturns the factor weighting generalization and suppression.doubleReturns the factor used to weight suppressed values.booleanReturns whether this metric handles microaggregationbooleanReturns whether a generalization/suppression factor is supportedrender(ARXConfiguration config) Renders the privacy modeltoString()Returns the name of metric.Von Klasse geerbte Methoden org.deidentifier.arx.metric.v2.AbstractMetricMultiDimensionalPotentiallyPrecomputed
createMaxInformationLoss, createMinInformationLoss, getAggregateFunction, getDefaultMetric, getInformationLossInternal, getInformationLossInternal, getLowerBoundInternal, getLowerBoundInternal, getPrecomputedMetric, getScore, getThreshold, initializeInternal, isIndependent, isPrecomputed, isScoreFunctionSupportedVon Klasse geerbte Methoden org.deidentifier.arx.metric.v2.AbstractMetricMultiDimensional
createInformationLoss, 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, getName, getNumRecords, getSubset, initialize, isAbleToHandleClusteredMicroaggregation, isMonotonic, isMonotonicWithGeneralization, isMonotonicWithSuppression, isMultiDimensional, isWeighted, list, round
-
Konstruktordetails
-
MetricMDNMLossPotentiallyPrecomputed
protected MetricMDNMLossPotentiallyPrecomputed(double threshold) Creates a new instance. The precomputed variant will be used if #distinctValues / #rows Ungültige Eingabe: "<"= threshold for all quasi-identifiers.- Parameter:
threshold-
-
MetricMDNMLossPotentiallyPrecomputed
Creates a new instance. The precomputed variant will be used if #distinctValues / #rows Ungültige Eingabe: "<"= threshold for all quasi-identifiers.- Parameter:
threshold-function-
-
MetricMDNMLossPotentiallyPrecomputed
protected MetricMDNMLossPotentiallyPrecomputed(double threshold, double gsFactor, Metric.AggregateFunction function) Creates a new instance. The precomputed variant will be used if #distinctValues / #rows Ungültige Eingabe: "<"= threshold for all quasi-identifiers.- Parameter:
threshold-gsFactor-function-
-
-
Methodendetails
-
getConfiguration
Returns the configuration of this metric.- Setzt außer Kraft:
getConfigurationin KlasseMetric<AbstractILMultiDimensional>- Gibt zurück:
-
getGeneralizationFactor
public double getGeneralizationFactor()Beschreibung aus Klasse kopiert:MetricReturns the factor used weight generalized values.- Setzt außer Kraft:
getGeneralizationFactorin KlasseAbstractMetricMultiDimensionalPotentiallyPrecomputed- Gibt zurück:
-
getGeneralizationSuppressionFactor
public double getGeneralizationSuppressionFactor()Beschreibung aus Klasse kopiert:MetricReturns the factor weighting generalization and suppression.- Setzt außer Kraft:
getGeneralizationSuppressionFactorin KlasseAbstractMetricMultiDimensionalPotentiallyPrecomputed- Gibt zurück:
- 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.
-
getSuppressionFactor
public double getSuppressionFactor()Beschreibung aus Klasse kopiert:MetricReturns the factor used to weight suppressed values.- Setzt außer Kraft:
getSuppressionFactorin KlasseAbstractMetricMultiDimensionalPotentiallyPrecomputed- Gibt zurück:
-
isAbleToHandleMicroaggregation
public boolean isAbleToHandleMicroaggregation()Beschreibung aus Klasse kopiert:MetricReturns whether this metric handles microaggregation- Setzt außer Kraft:
isAbleToHandleMicroaggregationin KlasseMetric<AbstractILMultiDimensional>- 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:
-
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:
-