Class Split

    • Constructor Detail

      • Split

        public Split()
    • Method Detail

      • branchForInstance

        public abstract String branchForInstance​(Instance inst)
        Returns the name of the branch that the supplied instance would go down
        Parameters:
        inst - the instance to find the branch for
        Returns:
        the name of the branch that the instance would go down
      • conditionForBranch

        public abstract String conditionForBranch​(String branch)
        Returns the condition for the supplied branch name
        Parameters:
        branch - the name of the branch to get the condition for
        Returns:
        the condition (test) that corresponds to the named branch
      • splitAttributes

        public List<String> splitAttributes()