public class RuleActiveRegressionNode extends RuleRegressionNode implements RuleActiveLearningNode
Constructor and Description |
---|
RuleActiveRegressionNode() |
RuleActiveRegressionNode(ActiveRule.Builder builder) |
Modifier and Type | Method and Description |
---|---|
AutoExpandVector<AttributeClassObserver> |
getAttributeObservers() |
AttributeSplitSuggestion[] |
getBestSplitSuggestions(SplitCriterion criterion) |
AttributeSplitSuggestion |
getBestSuggestion() |
int |
getSplitIndex() |
double[] |
getStatisticsBranchSplit() |
double[] |
getStatisticsNewRuleActiveLearningNode() |
double[] |
getStatisticsOtherBranchSplit() |
void |
initialize(RuleRegressionNode oldLearningNode) |
void |
setBestSuggestion(AttributeSplitSuggestion bestSuggestion) |
void |
setSplitIndex(int splitIndex) |
void |
setStatisticsBranchSplit(double[] statisticsBranchSplit) |
void |
setStatisticsNewRuleActiveLearningNode(double[] statisticsNewRuleActiveLearningNode) |
void |
setStatisticsOtherBranchSplit(double[] statisticsOtherBranchSplit) |
boolean |
tryToExpand(double splitConfidence,
double tieThreshold) |
boolean |
updateChangeDetection(double error) |
boolean |
updatePageHinckleyTest(double error) |
void |
updateStatistics(Instance inst) |
computeError, computeHoeffdingBound, computeProbability, computeSD, getCurrentError, getInstancesSeen, getLearnerToUse, getNodeStatistics, getNormalizedPrediction, getPerceptron, getPrediction, getPrediction, getSimplePrediction, getTargetMean, isAnomaly, setPerceptron, setTargetMean
public RuleActiveRegressionNode()
public RuleActiveRegressionNode(ActiveRule.Builder builder)
public int getSplitIndex()
public void setSplitIndex(int splitIndex)
public double[] getStatisticsOtherBranchSplit()
public void setStatisticsOtherBranchSplit(double[] statisticsOtherBranchSplit)
public double[] getStatisticsBranchSplit()
public void setStatisticsBranchSplit(double[] statisticsBranchSplit)
public double[] getStatisticsNewRuleActiveLearningNode()
public void setStatisticsNewRuleActiveLearningNode(double[] statisticsNewRuleActiveLearningNode)
public AttributeSplitSuggestion getBestSuggestion()
public void setBestSuggestion(AttributeSplitSuggestion bestSuggestion)
public boolean updatePageHinckleyTest(double error)
public boolean updateChangeDetection(double error)
public void updateStatistics(Instance inst)
updateStatistics
in class RuleRegressionNode
public void initialize(RuleRegressionNode oldLearningNode)
public boolean tryToExpand(double splitConfidence, double tieThreshold)
tryToExpand
in interface RuleActiveLearningNode
public AutoExpandVector<AttributeClassObserver> getAttributeObservers()
public AttributeSplitSuggestion[] getBestSplitSuggestions(SplitCriterion criterion)
Copyright © 2014 Yahoo! Labs. All rights reserved.