Klasse RiskModelSampleRiskDistribution

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

public class RiskModelSampleRiskDistribution extends Object
Class representing the distribution of risks in the sample
  • Konstruktordetails

    • RiskModelSampleRiskDistribution

      public RiskModelSampleRiskDistribution(RiskModelHistogram histogram, ARXConfiguration config, boolean anonymous)
      Creates a new instance
      Parameter:
      histogram -
      config -
      anonymous -
  • Methodendetails

    • getAvailableLowerRiskThresholds

      public double[] getAvailableLowerRiskThresholds()
      Returns the lower bounds (exclusive) of the intervals for the according data points.
      Gibt zurück:
    • getAvailableUpperRiskThresholds

      public double[] getAvailableUpperRiskThresholds()
      Returns the lower bounds (inclusive) of the intervals for the according data points.
      Gibt zurück:
    • getFractionOfRecordsAtCumulativeRisk

      public double getFractionOfRecordsAtCumulativeRisk(double risk)
      Returns the fraction of records with a risk lower than or equal to the given threshold.
      Parameter:
      risk -
      Gibt zurück:
    • getFractionOfRecordsAtRisk

      public double getFractionOfRecordsAtRisk(double risk)
      Returns the fraction of records with a risk which equals the given threshold.
      Parameter:
      risk -
      Gibt zurück:
    • getFractionOfRecordsForCumulativeRiskThresholds

      public double[] getFractionOfRecordsForCumulativeRiskThresholds()
      Returns an array of cumulative risks for the risk thresholds
      Gibt zurück:
    • getFractionOfRecordsForRiskThresholds

      public double[] getFractionOfRecordsForRiskThresholds()
      Returns an array of risks for the risk thresholds
      Gibt zurück:
    • getRiskThreshold

      public double getRiskThreshold()
      Returns the threshold which is available on prosecutor risks
      Gibt zurück: