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

Class UnivariateNominalMultiwaySplit

  • All Implemented Interfaces:
    java.io.Serializable


    public class UnivariateNominalMultiwaySplit
    extends Split
    implements java.io.Serializable
    A multiway split based on a single nominal attribute
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String branchForInstance(Instance inst)
      Returns the name of the branch that the supplied instance would go down
      java.lang.String conditionForBranch(java.lang.String branch)
      Returns the condition for the supplied branch name
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnivariateNominalMultiwaySplit

        public UnivariateNominalMultiwaySplit(java.lang.String attName)
        Constructor
        Parameters:
        attName - the name of the attribute to split on
    • Method Detail

      • branchForInstance

        public java.lang.String branchForInstance(Instance inst)
        Description copied from class: Split
        Returns the name of the branch that the supplied instance would go down
        Specified by:
        branchForInstance in class Split
        Parameters:
        inst - the instance to find the branch for
        Returns:
        the name of the branch that the instance would go down
      • conditionForBranch

        public java.lang.String conditionForBranch(java.lang.String branch)
        Description copied from class: Split
        Returns the condition for the supplied branch name
        Specified by:
        conditionForBranch in class Split
        Parameters:
        branch - the name of the branch to get the condition for
        Returns:
        the condition (test) that corresponds to the named branch

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.