Package org.deidentifier.arx.risk
Klasse RiskModelSampleRisks
java.lang.Object
org.deidentifier.arx.risk.RiskModelSampleRisks
Class for analyzing re-identification risks of the current sample and mixed
risks which have been derived from privacy models
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRiskModelSampleRisks(RiskModelHistogram histogram, ARXConfiguration config, boolean anonymous) Creates a new instance -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdoubleReturns the average re-identification riskdoubleReturn journalist risk threshold, 1 if there is nonedoubleReturn marketer risk threshold, 1 if there is nonedoubleReturn prosecutor risk threshold, 1 if there is nonedoubleReturns the fraction of records affected by the highest re-identification riskdoubleReturns the fraction of records affected by the lowest re-identification riskdoubleReturns the highest re-identification risk of any records in the data setprotected RiskModelHistogramdoubleReturns the lowest re-identification risk of any records in the data setdoubleReturns the number of records affected by the highest re-identification riskdoubleReturns the number of records affected by the lowest re-identification risk
-
Konstruktordetails
-
RiskModelSampleRisks
public RiskModelSampleRisks(RiskModelHistogram histogram, ARXConfiguration config, boolean anonymous) Creates a new instance- Parameter:
histogram-config-anonymous-
-
-
Methodendetails
-
getAverageRisk
public double getAverageRisk()Returns the average re-identification risk- Gibt zurück:
-
getEstimatedJournalistRisk
public double getEstimatedJournalistRisk()Return journalist risk threshold, 1 if there is none- Gibt zurück:
-
getEstimatedMarketerRisk
public double getEstimatedMarketerRisk()Return marketer risk threshold, 1 if there is none- Gibt zurück:
-
getEstimatedProsecutorRisk
public double getEstimatedProsecutorRisk()Return prosecutor risk threshold, 1 if there is none- Gibt zurück:
-
getFractionOfRecordsAffectedByHighestRisk
public double getFractionOfRecordsAffectedByHighestRisk()Returns the fraction of records affected by the highest re-identification risk- Gibt zurück:
-
getFractionOfRecordsAffectedByLowestRisk
public double getFractionOfRecordsAffectedByLowestRisk()Returns the fraction of records affected by the lowest re-identification risk- Gibt zurück:
-
getHighestRisk
public double getHighestRisk()Returns the highest re-identification risk of any records in the data set- Gibt zurück:
-
getLowestRisk
public double getLowestRisk()Returns the lowest re-identification risk of any records in the data set- Gibt zurück:
-
getNumRecordsAffectedByHighestRisk
public double getNumRecordsAffectedByHighestRisk()Returns the number of records affected by the highest re-identification risk- Gibt zurück:
-
getNumRecordsAffectedByLowestRisk
public double getNumRecordsAffectedByLowestRisk()Returns the number of records affected by the lowest re-identification risk- Gibt zurück:
-
getHistogram
- Gibt zurück:
- the classes
-