Class ContrastSurvivalFinder
java.lang.Object
adaa.analytics.rules.logic.induction.AbstractFinder
adaa.analytics.rules.logic.induction.RegressionFinder
adaa.analytics.rules.logic.induction.SurvivalLogRankFinder
adaa.analytics.rules.logic.induction.ContrastSurvivalFinder
- All Implemented Interfaces:
IPenalizedFinder
,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class adaa.analytics.rules.logic.induction.SurvivalLogRankFinder
SurvivalLogRankFinder.Implementation
-
Field Summary
Fields inherited from class adaa.analytics.rules.logic.induction.AbstractFinder
attributeValuesOrder, modifier, params, pool, threadCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkCandidate
(IExampleSet dataset, Rule rule, ConditionBase candidate, Set<Integer> uncovered, Set<Integer> covered, ConditionEvaluation currentBest) int
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, 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
-
ContrastSurvivalFinder
-
-
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 classSurvivalLogRankFinder
- Parameters:
rule
- Rule to be postprocessed.dataset
- Training set.
-
checkCandidate
protected boolean checkCandidate(IExampleSet dataset, Rule rule, ConditionBase candidate, Set<Integer> uncovered, Set<Integer> covered, ConditionEvaluation currentBest) - Overrides:
checkCandidate
in classSurvivalLogRankFinder
-