public class RiskModelSampleRiskDistribution
extends java.lang.Object
Constructor and Description |
---|
RiskModelSampleRiskDistribution(RiskModelHistogram histogram,
ARXConfiguration config,
boolean anonymous)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
double[] |
getAvailableLowerRiskThresholds()
Returns the lower bounds (exclusive) of the intervals for the according data points.
|
double[] |
getAvailableUpperRiskThresholds()
Returns the lower bounds (inclusive) of the intervals for the according data points.
|
double |
getFractionOfRecordsAtCumulativeRisk(double risk)
Returns the fraction of records with a risk lower than or equal
to the given threshold.
|
double |
getFractionOfRecordsAtRisk(double risk)
Returns the fraction of records with a risk which equals the given threshold.
|
double[] |
getFractionOfRecordsForCumulativeRiskThresholds()
Returns an array of cumulative risks for the risk thresholds
|
double[] |
getFractionOfRecordsForRiskThresholds()
Returns an array of risks for the risk thresholds
|
double |
getRiskThreshold()
Returns the threshold which is available on prosecutor risks
|
public RiskModelSampleRiskDistribution(RiskModelHistogram histogram, ARXConfiguration config, boolean anonymous)
histogram
- config
- anonymous
- public double[] getAvailableLowerRiskThresholds()
public double[] getAvailableUpperRiskThresholds()
public double getFractionOfRecordsAtCumulativeRisk(double risk)
risk
- public double getFractionOfRecordsAtRisk(double risk)
risk
- public double[] getFractionOfRecordsForCumulativeRiskThresholds()
public double[] getFractionOfRecordsForRiskThresholds()
public double getRiskThreshold()