public class RiskModelSampleWildcard
extends java.lang.Object
Constructor and Description |
---|
RiskModelSampleWildcard(DataHandleInternal handle,
java.util.Set<java.lang.String> identifiers,
double threshold,
java.lang.String wildcard,
WrappedBoolean stop,
WrappedInteger progress)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
double |
getAverageRisk()
Returns the average risk
|
double |
getEffectiveRiskThreshold()
Returns the effective risk threshold, which may differ from the specified risk threshold due to rounding issues
|
double |
getHighestRisk()
Returns the highest risk
|
double |
getRecordsAtRisk()
Returns the fraction of records with a risk higher than the given threshold
|
double |
getRiskThreshold()
Returns the user-specified threshold.
|
double |
getSuccessRate()
Returns the success rate
|
public RiskModelSampleWildcard(DataHandleInternal handle, java.util.Set<java.lang.String> identifiers, double threshold, java.lang.String wildcard, WrappedBoolean stop, WrappedInteger progress)
handle
- handleidentifiers
- quasi-identifiersthreshold
- Note: due to rounding issues this threshold may be exceeded by up to 1%wildcard
- string representing suppressed valuesstop
- stop flagprogress
- progresspublic double getAverageRisk()
public double getEffectiveRiskThreshold()
public double getHighestRisk()
public double getRecordsAtRisk()
public double getRiskThreshold()
getEffectiveRiskThreshold
public double getSuccessRate()