Class PatternConfidenceCalculator
java.lang.Object
com.evolveum.midpoint.model.impl.mining.algorithm.detection.PatternConfidenceCalculator
- All Implemented Interfaces:
Serializable
Experimental class for calculating confidence values based on detection patterns. (Part of RoleAnalysis)
This class calculates confidence values for reduction factor and item density.
The confidence values are calculated based on the analysis results provided by detection patterns.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected double
protected double
protected RoleAnalysisDetectionPatternType
protected double
protected RoleAnalysisSessionType
-
Constructor Summary
ConstructorDescriptionPatternConfidenceCalculator
(@NotNull RoleAnalysisSessionType session, @NotNull RoleAnalysisDetectionPatternType pattern, double maxReduction) -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
-
Field Details
-
itemsConfidence
protected double itemsConfidence -
reductionFactorConfidence
protected double reductionFactorConfidence -
pattern
-
session
-
maxReduction
protected double maxReduction -
itemCount
protected int itemCount
-
-
Constructor Details
-
PatternConfidenceCalculator
public PatternConfidenceCalculator(@NotNull @NotNull RoleAnalysisSessionType session, @NotNull @NotNull RoleAnalysisDetectionPatternType pattern, double maxReduction)
-
-
Method Details
-
calculateReductionFactorConfidence
public double calculateReductionFactorConfidence() -
calculateItemConfidence
public double calculateItemConfidence()
-