public class MultilabelHoeffdingTree extends HoeffdingTreeClassifLeaves
| Modifier and Type | Class and Description |
|---|---|
static class |
MultilabelHoeffdingTree.MultilabelInactiveLearningNode |
class |
MultilabelHoeffdingTree.MultilabelLearningNodeClassifier |
HoeffdingTreeClassifLeaves.LearningNodeClassifierHoeffdingTree.ActiveLearningNode, HoeffdingTree.FoundNode, HoeffdingTree.InactiveLearningNode, HoeffdingTree.LearningNode, HoeffdingTree.LearningNodeNB, HoeffdingTree.LearningNodeNBAdaptive, HoeffdingTree.Node, HoeffdingTree.SplitNode| Modifier and Type | Field and Description |
|---|---|
protected Converter |
converter |
int |
m_L |
learnerOptionactiveLeafByteSizeEstimate, activeLeafNodeCount, binarySplitsOption, byteSizeEstimateOverheadFraction, decisionNodeCount, gracePeriodOption, growthAllowed, inactiveLeafByteSizeEstimate, inactiveLeafNodeCount, leafpredictionOption, maxByteSizeOption, memoryEstimatePeriodOption, nbThresholdOption, nominalEstimatorOption, noPrePruneOption, numericEstimatorOption, removePoorAttsOption, splitConfidenceOption, splitCriterionOption, stopMemManagementOption, tieThresholdOption, treeRootclassifierRandom, modelContext, randomSeed, randomSeedOption, trainingWeightSeenByModelclassOptionNamesToPreparedObjects, options| Constructor and Description |
|---|
MultilabelHoeffdingTree() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deactivateLearningNode(HoeffdingTree.ActiveLearningNode toDeactivate,
HoeffdingTree.SplitNode parent,
int parentBranch) |
double[] |
getVotesForInstance(weka.core.Instance inst)
Predicts the class memberships for a given instance.
|
protected HoeffdingTree.LearningNode |
newLearningNode(double[] initialClassObservations) |
protected HoeffdingTree.LearningNode |
newLearningNode(double[] initialClassObservations,
Classifier cl) |
void |
setModelContext(InstancesHeader raw_header)
Sets the reference to the header of the data stream.
|
attemptToSplitactivateLearningNode, calcByteSize, computeHoeffdingBound, deactivateAllLeaves, enforceTrackerLimit, estimateModelByteSizes, findLearningNodes, findLearningNodes, getModelDescription, getModelMeasurementsImpl, getPurposeString, isRandomizable, measureByteSize, measureTreeDepth, newLearningNode, newNominalClassObserver, newNumericClassObserver, newSplitNode, newSplitNode, resetLearningImpl, trainOnInstanceImplcontextIsCompatible, copy, correctlyClassifies, getAttributeNameString, getAWTRenderer, getClassLabelString, getClassNameString, getDescription, getModelContext, getModelMeasurements, getNominalValueString, getSubClassifiers, modelAttIndexToInstanceAttIndex, modelAttIndexToInstanceAttIndex, prepareForUseImpl, resetLearning, setRandomSeed, trainingHasStarted, trainingWeightSeenByModel, trainOnInstancediscoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUsecopy, measureByteSize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCLICreationString, getOptions, prepareForUse, prepareForUsepublic int m_L
protected Converter converter
public void setModelContext(InstancesHeader raw_header)
ClassifierInstances.
This header is needed to know the number of classes and attributessetModelContext in interface ClassifiersetModelContext in class AbstractClassifierraw_header - the reference to the data stream headerprotected HoeffdingTree.LearningNode newLearningNode(double[] initialClassObservations)
newLearningNode in class HoeffdingTreeClassifLeavesprotected HoeffdingTree.LearningNode newLearningNode(double[] initialClassObservations, Classifier cl)
newLearningNode in class HoeffdingTreeClassifLeavesprotected void deactivateLearningNode(HoeffdingTree.ActiveLearningNode toDeactivate, HoeffdingTree.SplitNode parent, int parentBranch)
deactivateLearningNode in class HoeffdingTreepublic double[] getVotesForInstance(weka.core.Instance inst)
ClassifiergetVotesForInstance in interface ClassifiergetVotesForInstance in class HoeffdingTreeinst - the instance to be classifiedCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.