Documentation of 'weka.classifiers.trees.ht.ActiveHNode' Java class
ActiveHNode
weka.classifiers.trees.ht

Class ActiveHNode

  • All Implemented Interfaces:
    java.io.Serializable, LearningNode
    Direct Known Subclasses:
    NBNode


    public class ActiveHNode
    extends LeafNode
    implements LearningNode, java.io.Serializable
    Node that is "active" (i.e. growth can occur) in a Hoeffding tree
    See Also:
    Serialized Form
    • Field Detail

      • m_weightSeenAtLastSplitEval

        public double m_weightSeenAtLastSplitEval
        The weight of instances seen at the last split evaluation
    • Constructor Detail

      • ActiveHNode

        public ActiveHNode()
    • Method Detail

      • updateNode

        public void updateNode(Instance inst)
                        throws java.lang.Exception
        Description copied from class: HNode
        Update the node with the supplied instance
        Overrides:
        updateNode in class LeafNode
        Parameters:
        inst - the instance to update with
        Throws:
        java.lang.Exception - if a problem occurs
      • getPossibleSplits

        public java.util.List<SplitCandidate> getPossibleSplits(SplitMetric splitMetric)
        Returns a list of split candidates
        Parameters:
        splitMetric - the splitting metric to use
        Returns:
        a list of split candidates

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.