aima.test.learningtest
Class DecisionTreeTest

java.lang.Object
  extended by TestCase
      extended by aima.test.learningtest.DecisionTreeTest

public class DecisionTreeTest
extends TestCase


Constructor Summary
DecisionTreeTest()
           
 
Method Summary
 void testActualDecisionTreeClassifiesRestaurantDataSetCorrectly()
           
 void testInducedDecisionTreeClassifiesRestaurantDataSetCorrectly()
           
 void testStumpCreationForDataSet()
           
 void testStumpCreationForSpecifiedAttributeValuePair()
           
 void testStumpPredictionForDataSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecisionTreeTest

public DecisionTreeTest()
Method Detail

testActualDecisionTreeClassifiesRestaurantDataSetCorrectly

public void testActualDecisionTreeClassifiesRestaurantDataSetCorrectly()
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testInducedDecisionTreeClassifiesRestaurantDataSetCorrectly

public void testInducedDecisionTreeClassifiesRestaurantDataSetCorrectly()
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testStumpCreationForSpecifiedAttributeValuePair

public void testStumpCreationForSpecifiedAttributeValuePair()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testStumpCreationForDataSet

public void testStumpCreationForDataSet()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testStumpPredictionForDataSet

public void testStumpPredictionForDataSet()
                                   throws java.lang.Exception
Throws:
java.lang.Exception