Uses of Class
DecisionTreeException

Uses of DecisionTreeException in <Unnamed>
 

Methods in <Unnamed> that throw DecisionTreeException
 void Distribution.computeProbabilitiesFromFrequencies()
          Take the observed frequencies and create normalized probabilities from them, which can later be obtained using getProbabilities().
static DecisionTree DecisionTree.constructDecisionTree(InstanceSet examples, java.util.ArrayList<Attribute> attributes, InstanceSet parentExamples, java.lang.String label, int depth)
          Construct a decision tree according to the recursive algorithm given in figure 18.5 of Russell and Norvig (third edition).
 double Distribution.getEntropy()
          Get the entropy of the probability distribution.
 java.lang.String Distribution.getNameOfMaxProbability()
          Get the name of the most probable attribute value.
 java.util.HashMap<java.lang.String,java.lang.Double> Distribution.getProbabilities()
          Get a HashMap of the probabilities in this distribution.
 double Distribution.getValueOfMaxProbability()
          Get the probability of the most probable attribute value.
static void DecisionTree.main(java.lang.String[] arguments)
          Constructs a decision tree from the data in a .arff file, prints out the tree, the error rate on the training set, and the decisions on each instance in the training set.
 void Distribution.printProbabilities()
          Print out the table of probabilities.
 

Constructors in <Unnamed> that throw DecisionTreeException
InstanceSet(java.lang.String inputFilename)
          Construct an InstanceSet by reading a .arff file with the given filename