Klasse RiskModelSampleWildcard

java.lang.Object
org.deidentifier.arx.risk.RiskModelSampleWildcard

public class RiskModelSampleWildcard extends Object
This class implements risk measures as proposed by El Emam in "Guide to the De-Identification of Personal Health Information", "Measuring the Probability of Re-Identification" considering suppressed values as a wildcard
  • Konstruktordetails

    • RiskModelSampleWildcard

      public RiskModelSampleWildcard(DataHandleInternal handle, Set<String> identifiers, double threshold, String wildcard, WrappedBoolean stop, WrappedInteger progress)
      Creates a new instance
      Parameter:
      handle - handle
      identifiers - quasi-identifiers
      threshold - Note: due to rounding issues this threshold may be exceeded by up to 1%
      wildcard - string representing suppressed values
      stop - stop flag
      progress - progress
  • Methodendetails

    • getAverageRisk

      public double getAverageRisk()
      Returns the average risk
      Gibt zurück:
      the average risk
    • getEffectiveRiskThreshold

      public double getEffectiveRiskThreshold()
      Returns the effective risk threshold, which may differ from the specified risk threshold due to rounding issues
      Gibt zurück:
      the effective risk threshold
    • getHighestRisk

      public double getHighestRisk()
      Returns the highest risk
      Gibt zurück:
      the highest risk
    • getLowestRisk

      public double getLowestRisk()
      Returns the lowest risk
      Gibt zurück:
      the lowest risk
    • getRecordsAtRisk

      public double getRecordsAtRisk()
      Returns the fraction of records with a risk higher than the given threshold
      Gibt zurück:
      the records at risk
    • getRiskThreshold

      public double getRiskThreshold()
      Returns the user-specified threshold. Note: the effective threshold may differ slightly due to rounding issues. See: getEffectiveRiskThreshold
      Gibt zurück:
    • getSuccessRate

      public double getSuccessRate()
      Returns the success rate
      Gibt zurück: