Package org.deidentifier.arx.risk
Klasse RiskModelSampleRiskDistribution
java.lang.Object
org.deidentifier.arx.risk.RiskModelSampleRiskDistribution
Class representing the distribution of risks in the sample
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRiskModelSampleRiskDistribution(RiskModelHistogram histogram, ARXConfiguration config, boolean anonymous) Creates a new instance -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdouble[]Returns the lower bounds (exclusive) of the intervals for the according data points.double[]Returns the lower bounds (inclusive) of the intervals for the according data points.doublegetFractionOfRecordsAtCumulativeRisk(double risk) Returns the fraction of records with a risk lower than or equal to the given threshold.doublegetFractionOfRecordsAtRisk(double risk) Returns the fraction of records with a risk which equals the given threshold.double[]Returns an array of cumulative risks for the risk thresholdsdouble[]Returns an array of risks for the risk thresholdsdoubleReturns the threshold which is available on prosecutor risks
-
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:
-