public class ASHoeffdingTree extends HoeffdingTree
OzaBagASHT -l ASHoeffdingTree -s 10 -u -r
Parameters:OzaBag
HoeffdingTree.ActiveLearningNode, HoeffdingTree.FoundNode, HoeffdingTree.InactiveLearningNode, HoeffdingTree.LearningNode, HoeffdingTree.LearningNodeNB, HoeffdingTree.LearningNodeNBAdaptive, HoeffdingTree.Node, HoeffdingTree.SplitNode
Modifier and Type | Field and Description |
---|---|
protected int |
maxSize |
protected boolean |
resetTree |
activeLeafByteSizeEstimate, activeLeafNodeCount, binarySplitsOption, byteSizeEstimateOverheadFraction, decisionNodeCount, gracePeriodOption, growthAllowed, inactiveLeafByteSizeEstimate, inactiveLeafNodeCount, leafpredictionOption, maxByteSizeOption, memoryEstimatePeriodOption, nbThresholdOption, nominalEstimatorOption, noPrePruneOption, numericEstimatorOption, removePoorAttsOption, splitConfidenceOption, splitCriterionOption, stopMemManagementOption, tieThresholdOption, treeRoot
classifierRandom, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModel
classOptionNamesToPreparedObjects, options
Constructor and Description |
---|
ASHoeffdingTree() |
Modifier and Type | Method and Description |
---|---|
void |
deleteNode(HoeffdingTree.Node node,
int childIndex) |
String |
getPurposeString()
Gets the purpose of this object
|
void |
resetLearningImpl()
Resets this classifier.
|
void |
resizeTree(HoeffdingTree.Node node,
int childIndex) |
void |
setMaxSize(int mSize) |
void |
setResetTree() |
void |
trainOnInstanceImpl(weka.core.Instance inst)
Trains this classifier incrementally using the given instance.
The reason for ...Impl methods: ease programmer burden by not requiring them to remember calls to super in overridden methods. |
activateLearningNode, attemptToSplit, calcByteSize, computeHoeffdingBound, deactivateAllLeaves, deactivateLearningNode, enforceTrackerLimit, estimateModelByteSizes, findLearningNodes, findLearningNodes, getModelDescription, getModelMeasurementsImpl, getVotesForInstance, isRandomizable, measureByteSize, measureTreeDepth, newLearningNode, newLearningNode, newNominalClassObserver, newNumericClassObserver, newSplitNode, newSplitNode
contextIsCompatible, copy, correctlyClassifies, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModelContext, getModelMeasurements, getNominalValueString, getSubClassifiers, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance
discoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCLICreationString, getOptions, prepareForUse, prepareForUse
public String getPurposeString()
OptionHandler
getPurposeString
in interface OptionHandler
getPurposeString
in class HoeffdingTree
public void resetLearningImpl()
AbstractClassifier
resetLearningImpl
in class HoeffdingTree
public void trainOnInstanceImpl(weka.core.Instance inst)
AbstractClassifier
trainOnInstanceImpl
in class HoeffdingTree
inst
- the instance to be used for trainingpublic void setMaxSize(int mSize)
public void setResetTree()
public void deleteNode(HoeffdingTree.Node node, int childIndex)
public void resizeTree(HoeffdingTree.Node node, int childIndex)
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.