Package org.deidentifier.arx.criteria
Klasse KMap
java.lang.Object
org.deidentifier.arx.criteria.PrivacyCriterion
org.deidentifier.arx.criteria.ImplicitPrivacyCriterion
org.deidentifier.arx.criteria.KMap
- Alle implementierten Schnittstellen:
Serializable
This class implements the k-map privacy model as proposed by Latanya Sweeney.
As an alternative to explicitly providing data about the underlying population, cell sizes can be can be estimated with the D3 (Poisson) and D4 (zero-truncated Poisson) estimators proposed in:
K. El Emam and F. Dankar, "Protecting privacy using k-anonymity" JAMIA, vol. 15, no. 5, pp. 627-637, 2008.
The estimator D3 was first published in:
J. Pannekoek, "Statistical methods for some simple disclosure limitation rules," Statistica Neerlandica, vol. 53, no. 1, pp. 55-67, 1999.
As an alternative to explicitly providing data about the underlying population, cell sizes can be can be estimated with the D3 (Poisson) and D4 (zero-truncated Poisson) estimators proposed in:
K. El Emam and F. Dankar, "Protecting privacy using k-anonymity" JAMIA, vol. 15, no. 5, pp. 627-637, 2008.
The estimator D3 was first published in:
J. Pannekoek, "Statistical methods for some simple disclosure limitation rules," Statistica Neerlandica, vol. 53, no. 1, pp. 55-67, 1999.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enumEstimators for cell sizes in the population. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungKMap(int k, double significanceLevel, ARXPopulationModel populationModel) Creates a new instance of the criterion using thr Poisson estimator proposed by Pannekoek.KMap(int k, double significanceLevel, ARXPopulationModel populationModel, KMap.CellSizeEstimator estimator) Creates a new instance of the criterion using the Poisson estimator proposed by Pannekoek or by El Emam.KMap(int k, DataSubset subset) Creates a new instance of the k-map criterion as proposed by Latanya Sweeney -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()Cloneclone(DataSubset subset) Clone for local recodingIf a privacy model uses a data subset, it must overwrite this methodintReturns the derived parameter k.Returns the specified estimator.intgetK()Returns k.intIf a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizationsReturns the associated population model,nullif there is none.intReturns the criterion's requirements.doubleReturn journalist risk threshold, 1 if there is nonedoubleReturn marketer risk threshold, 1 if there is nonedoubleReturn journalist risk threshold, 1 if there is nonedoubleReturns the specified significance level.doubleReturns the calculated type I error.voidinitialize(org.deidentifier.arx.framework.data.DataManager manager, ARXConfiguration config) Override this to initialize the criterion.booleanReturn true if the population has been modeled explicitly.booleanisAnonymous(org.deidentifier.arx.framework.lattice.Transformation<?> node, org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry) Implement this, to enforce the criterion.booleanReturns whether the criterion supports local recoding.booleanIf a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizationsbooleanIf a privacy model uses a data subset, it must overwrite this methodrender()Renders the privacy modeltoString()Returns a string representation.Von Klasse geerbte Methoden org.deidentifier.arx.criteria.PrivacyCriterion
getSubset, isHeuristicSearchSupported, isHeuristicSearchWithTimeLimitSupported, isMonotonicWithGeneralization, isMonotonicWithSuppression, isOptimalSearchSupported, isSampleBased
-
Konstruktordetails
-
KMap
Creates a new instance of the k-map criterion as proposed by Latanya Sweeney- Parameter:
k-subset- Research subset
-
KMap
Creates a new instance of the criterion using thr Poisson estimator proposed by Pannekoek. -
KMap
public KMap(int k, double significanceLevel, ARXPopulationModel populationModel, KMap.CellSizeEstimator estimator) Creates a new instance of the criterion using the Poisson estimator proposed by Pannekoek or by El Emam.
-
-
Methodendetails
-
clone
Beschreibung aus Klasse kopiert:PrivacyCriterionClone- Angegeben von:
clonein KlassePrivacyCriterion
-
clone
Beschreibung aus Klasse kopiert:PrivacyCriterionClone for local recoding- Setzt außer Kraft:
clonein KlassePrivacyCriterion
-
getDataSubset
Beschreibung aus Klasse kopiert:PrivacyCriterionIf a privacy model uses a data subset, it must overwrite this method- Setzt außer Kraft:
getDataSubsetin KlassePrivacyCriterion- Gibt zurück:
-
getDerivedK
public int getDerivedK()Returns the derived parameter k.- Gibt zurück:
-
getEstimator
Returns the specified estimator.- Gibt zurück:
-
getK
public int getK()Returns k.- Gibt zurück:
-
getMinimalClassSize
public int getMinimalClassSize()Beschreibung aus Klasse kopiert:PrivacyCriterionIf a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations- Setzt außer Kraft:
getMinimalClassSizein KlassePrivacyCriterion- Gibt zurück:
-
getPopulationModel
Beschreibung aus Klasse kopiert:PrivacyCriterionReturns the associated population model,nullif there is none.- Setzt außer Kraft:
getPopulationModelin KlassePrivacyCriterion- Gibt zurück:
- the populationModel
-
getRequirements
public int getRequirements()Beschreibung aus Klasse kopiert:PrivacyCriterionReturns the criterion's requirements.- Angegeben von:
getRequirementsin KlassePrivacyCriterion- Gibt zurück:
-
getRiskThresholdJournalist
public double getRiskThresholdJournalist()Return journalist risk threshold, 1 if there is none- Setzt außer Kraft:
getRiskThresholdJournalistin KlassePrivacyCriterion- Gibt zurück:
-
getRiskThresholdMarketer
public double getRiskThresholdMarketer()Return marketer risk threshold, 1 if there is none- Setzt außer Kraft:
getRiskThresholdMarketerin KlassePrivacyCriterion- Gibt zurück:
-
getRiskThresholdProsecutor
public double getRiskThresholdProsecutor()Return journalist risk threshold, 1 if there is none- Setzt außer Kraft:
getRiskThresholdProsecutorin KlassePrivacyCriterion- Gibt zurück:
-
getSignificanceLevel
public double getSignificanceLevel()Returns the specified significance level.- Gibt zurück:
-
getType1Error
public double getType1Error()Returns the calculated type I error.- Gibt zurück:
-
initialize
public void initialize(org.deidentifier.arx.framework.data.DataManager manager, ARXConfiguration config) Beschreibung aus Klasse kopiert:PrivacyCriterionOverride this to initialize the criterion.- Setzt außer Kraft:
initializein KlassePrivacyCriterion- Parameter:
manager-config- TODO
-
isAccurate
public boolean isAccurate()Return true if the population has been modeled explicitly. This implies that no approximation is performed.- Gibt zurück:
-
isAnonymous
public boolean isAnonymous(org.deidentifier.arx.framework.lattice.Transformation<?> node, org.deidentifier.arx.framework.check.groupify.HashGroupifyEntry entry) Beschreibung aus Klasse kopiert:PrivacyCriterionImplement this, to enforce the criterion.- Angegeben von:
isAnonymousin KlassePrivacyCriterion- Parameter:
node- TODOentry-- Gibt zurück:
-
isLocalRecodingSupported
public boolean isLocalRecodingSupported()Beschreibung aus Klasse kopiert:PrivacyCriterionReturns whether the criterion supports local recoding.- Angegeben von:
isLocalRecodingSupportedin KlassePrivacyCriterion- Gibt zurück:
-
isMinimalClassSizeAvailable
public boolean isMinimalClassSizeAvailable()Beschreibung aus Klasse kopiert:PrivacyCriterionIf a privacy model provides a prosecutor risk threshold, it should override this method to enable optimizations- Setzt außer Kraft:
isMinimalClassSizeAvailablein KlassePrivacyCriterion- Gibt zurück:
-
isSubsetAvailable
public boolean isSubsetAvailable()Beschreibung aus Klasse kopiert:PrivacyCriterionIf a privacy model uses a data subset, it must overwrite this method- Setzt außer Kraft:
isSubsetAvailablein KlassePrivacyCriterion- Gibt zurück:
-
render
Beschreibung aus Klasse kopiert:PrivacyCriterionRenders the privacy model- Angegeben von:
renderin KlassePrivacyCriterion- Gibt zurück:
-
toString
Beschreibung aus Klasse kopiert:PrivacyCriterionReturns a string representation.- Angegeben von:
toStringin KlassePrivacyCriterion- Gibt zurück:
-