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 TypeMethodDescriptionintgrow(Rule rule, IExampleSet dataset, Set<Integer> uncovered) Invokes grow method from the super class and verifies negative coverage requirement.voidpostprocess(Rule rule, IExampleSet dataset) Postprocess a rule.Methods inherited from class adaa.analytics.rules.logic.induction.RegressionFinder
checkCandidate, checkCandidate, induceCondition, induceCondition_meanMethods 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:
getAttributePenaltiesin interfaceIPenalizedFinder
-
grow
Invokes grow method from the super class and verifies negative coverage requirement.- Overrides:
growin 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:
postprocessin classAbstractFinder- Parameters:
rule- Rule to be postprocessed.dataset- Training set.
-