Class ContrastRegressionFinder
java.lang.Object
adaa.analytics.rules.logic.induction.AbstractFinder
adaa.analytics.rules.logic.induction.RegressionFinder
adaa.analytics.rules.logic.induction.ContrastRegressionFinder
- All Implemented Interfaces:
IPenalizedFinder
,AutoCloseable
-
Field Summary
Fields inherited from class adaa.analytics.rules.logic.induction.AbstractFinder
attributeValuesOrder, modifier, params, pool, threadCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
grow
(Rule rule, IExampleSet dataset, Set<Integer> uncovered) Invokes grow method from the super class and verifies negative coverage requirement.void
postprocess
(Rule rule, IExampleSet dataset) Postprocess a rule.Methods inherited from class adaa.analytics.rules.logic.induction.RegressionFinder
checkCandidate, checkCandidate, induceCondition, induceCondition_mean
Methods inherited from class adaa.analytics.rules.logic.induction.AbstractFinder
addObserver, clearObservers, close, names2attributes, notifyConditionAdded, notifyConditionRemoved, notifyGrowingFinished, notifyGrowingStarted, notifyRuleReady, preprocess, prune
-
Constructor Details
-
ContrastRegressionFinder
-
-
Method Details
-
getAttributePenalties
- Specified by:
getAttributePenalties
in interfaceIPenalizedFinder
-
grow
Invokes grow method from the super class and verifies negative coverage requirement.- Overrides:
grow
in classAbstractFinder
- Parameters:
rule
- Rule to be grown.dataset
- Training set.uncovered
- Set of positive examples yet uncovered by the model.- Returns:
- Number of conditions added.
-
postprocess
Postprocess a rule.- Overrides:
postprocess
in classAbstractFinder
- Parameters:
rule
- Rule to be postprocessed.dataset
- Training set.
-