public class Iadem3 extends Iadem2 implements MultiClassClassifier
Modifier and Type | Class and Description |
---|---|
class |
Iadem3.AdaptiveLeafNode |
class |
Iadem3.AdaptiveLeafNodeNB |
class |
Iadem3.AdaptiveLeafNodeNBAdaptive |
class |
Iadem3.AdaptiveLeafNodeNBKirkby |
class |
Iadem3.AdaptiveLeafNodeWeightedVote |
class |
Iadem3.AdaptiveNominalVirtualNode |
class |
Iadem3.AdaptiveNumericVirtualNode |
class |
Iadem3.AdaptiveSplitNode |
static interface |
Iadem3.restartsVariablesAtDrift |
Iadem2.LeafNode, Iadem2.LeafNodeNB, Iadem2.LeafNodeNBKirkby, Iadem2.LeafNodeWeightedVote, Iadem2.Node, Iadem2.NominalVirtualNode, Iadem2.NumericVirtualNode, Iadem2.SplitNode, Iadem2.VirtualNode
Modifier and Type | Field and Description |
---|---|
protected int |
currentSplitState |
protected int |
deletedTrees |
protected int |
interchangedTrees |
protected int |
lastPrediction |
protected int |
lastPredictionInLeaf |
IntOption |
maxNestingLevelOption |
IntOption |
maxSubtreesPerNodeOption |
int |
numSplitsByBreakingTies |
protected int |
numTrees |
protected boolean |
restartAtDrift |
protected int |
SPLIT_BY_TIE_BREAKING |
protected int |
SPLIT_WITH_CONFIDENCE |
protected AutoExpandVector<Iadem3Subtree> |
subtreeList |
protected int |
treeLevel |
attributeDiferentiation, driftDetectionMethodOption, ERROR_MARGIN, estimator, gracePeriodOption, leafPredictionOption, naiveBayesLimit, numberOfInstancesProcessed, numberOfLeaves, numberOfNodes, numericEstimatorOption, percentInCommon, splitConfidenceOption, splitCriterionOption, splitTestsOption, treeRoot
classifierRandom, downSampleRatio, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModel
config
Constructor and Description |
---|
Iadem3() |
Modifier and Type | Method and Description |
---|---|
void |
addSubtree(Iadem3Subtree subtree) |
boolean |
canCreateSubtree() |
void |
copyTree(Iadem3Subtree arbol) |
void |
createRoot(Instance instance) |
int |
getChangedTrees() |
double[] |
getClassVotes(Instance instance) |
protected void |
getClassVotesFromLeaf(Instance instance) |
AbstractChangeDetector |
getEstimatorCopy() |
protected Iadem3 |
getMainTree() |
int |
getMaxAltSubtreesPerNode() |
int |
getMaxNestingLevels() |
protected Measurement[] |
getModelMeasurementsImpl()
Gets the current measurements of this classifier.
The reason for ...Impl methods: ease programmer burden by not requiring them to remember calls to super in overridden methods. |
int |
getNumberOfSubtrees() |
int |
getTreeLevel() |
protected boolean |
hasTree(Iadem2.Node node) |
boolean |
isRestaurarVectoresPrediccion() |
void |
learnFromInstance(Instance instance) |
void |
newDeletedTree() |
Iadem2.LeafNode |
newLeafNode(Iadem2.Node parent,
long instTreeCountSinceVirtual,
long instNodeCountSinceVirtual,
double[] initialClassCount,
Instance instance) |
void |
newTreeChange() |
int |
numDeletedTrees() |
int |
numSubtrees() |
int |
numTrees() |
void |
removeSubtree(Iadem3Subtree subtree) |
void |
updateNumberOfLeaves(int amount) |
void |
updateNumberOfNodes(int amount) |
void |
updateNumberOfNodesSplitByTieBreaking(int amount) |
getAttributeDifferentiation, getMaxNumberOfBins, getMeasure, getModelDescription, getNaiveBayesLimit, getNumberOfInstancesProcessed, getNumberOfLeaves, getNumberOfNodes, getNumberOfNodes, getNumericAttObserver, getPercentInCommon, getTreeRoot, getValuesOfNominalAttributes, getVotesForInstance, incrNumberOfInstancesProcessed, isOnlyBinaryTest, isOnlyMultiwayTest, isRandomizable, newEstimator, newNumericClassObserver, newSplit, resetLearningImpl, setNumberOfLeaves, setNumberOfNodes, setTreeRoot, trainOnInstanceImpl
contextIsCompatible, copy, correctlyClassifies, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getDownSampleRatio, getModel, getModelContext, getModelMeasurements, getNominalValueString, getPredictionForInstance, getPredictionForInstance, getPurposeString, getSubClassifiers, getSublearners, getVotesForInstance, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setModelContext, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstance, trainOnInstance, updateDownSampleRatio
getCLICreationString, getOptions, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCLICreationString, getOptions, prepareForUse, prepareForUse
measureByteSize
public IntOption maxNestingLevelOption
public IntOption maxSubtreesPerNodeOption
protected final boolean restartAtDrift
protected int interchangedTrees
protected int deletedTrees
protected int numTrees
protected int lastPrediction
protected int lastPredictionInLeaf
protected int treeLevel
protected AutoExpandVector<Iadem3Subtree> subtreeList
protected int currentSplitState
protected final int SPLIT_BY_TIE_BREAKING
protected final int SPLIT_WITH_CONFIDENCE
public int numSplitsByBreakingTies
protected Measurement[] getModelMeasurementsImpl()
AbstractClassifier
getModelMeasurementsImpl
in class Iadem2
public AbstractChangeDetector getEstimatorCopy()
public void createRoot(Instance instance)
createRoot
in class Iadem2
public void addSubtree(Iadem3Subtree subtree)
public void removeSubtree(Iadem3Subtree subtree)
public boolean canCreateSubtree()
public Iadem2.LeafNode newLeafNode(Iadem2.Node parent, long instTreeCountSinceVirtual, long instNodeCountSinceVirtual, double[] initialClassCount, Instance instance)
newLeafNode
in class Iadem2
public int getTreeLevel()
public int getMaxAltSubtreesPerNode()
public int getMaxNestingLevels()
public boolean isRestaurarVectoresPrediccion()
public int numDeletedTrees()
public int numTrees()
public void newTreeChange()
public void newDeletedTree()
public int numSubtrees()
protected boolean hasTree(Iadem2.Node node)
public void learnFromInstance(Instance instance) throws IademException
learnFromInstance
in class Iadem2
IademException
protected void getClassVotesFromLeaf(Instance instance)
public void copyTree(Iadem3Subtree arbol)
public int getChangedTrees()
public double[] getClassVotes(Instance instance)
getClassVotes
in class Iadem2
public int getNumberOfSubtrees()
protected Iadem3 getMainTree()
public void updateNumberOfLeaves(int amount)
public void updateNumberOfNodes(int amount)
public void updateNumberOfNodesSplitByTieBreaking(int amount)
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.