public static class ORTO.ActiveLearningNode extends ORTO.Node
Modifier and Type | Field and Description |
---|---|
protected AutoExpandVector<AttributeClassObserver> |
attributeObservers |
protected int |
examplesSeen |
protected int |
examplesSeenAtLastSplitEvaluation |
ORTO.ORTOPerceptron |
learningModel |
protected DoubleVector |
nodeStatistics |
protected double |
PHmT |
protected double |
PHMT |
protected DoubleVector |
splitRatioStatistics |
Constructor and Description |
---|
ORTO.ActiveLearningNode(int id) |
Modifier and Type | Method and Description |
---|---|
int |
calcByteSize() |
void |
disableAttribute(int attIndex) |
AttributeSplitSuggestion[] |
getBestSplitSuggestions(SplitCriterion criterion,
ORTO tree)
Return the best split suggestions for this node using the given split criteria
|
double |
getError(weka.core.Instance inst)
Return the error for a given instance
|
double |
getPHError(weka.core.Instance inst) |
double[] |
getPrediction(weka.core.Instance inst,
ORTO tree) |
double |
getSquaredError()
Returns the squared error, for use in determining if an alternate tree is performing better than an original
tree, or if the alternate tree should be deleted
|
double[] |
processInstance(weka.core.Instance inst,
ORTO tree) |
calculateDetph, getChildIndex, getDescription, getLevel, getNumSubtrees, getParent, isLeaf, setAdaptable, setAlternate, setChild, setParent
copy, copy, measureByteSize, measureByteSize, toString
public ORTO.ORTOPerceptron learningModel
protected DoubleVector nodeStatistics
protected DoubleVector splitRatioStatistics
protected double PHmT
protected double PHMT
protected int examplesSeenAtLastSplitEvaluation
protected int examplesSeen
protected AutoExpandVector<AttributeClassObserver> attributeObservers
public int calcByteSize()
calcByteSize
in class ORTO.Node
public AttributeSplitSuggestion[] getBestSplitSuggestions(SplitCriterion criterion, ORTO tree)
public void disableAttribute(int attIndex)
public double getPHError(weka.core.Instance inst)
public double getSquaredError()
public double getError(weka.core.Instance inst)
public double[] processInstance(weka.core.Instance inst, ORTO tree)
processInstance
in class ORTO.Node
public double[] getPrediction(weka.core.Instance inst, ORTO tree)
getPrediction
in class ORTO.Node
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.