aima.test.learningtest
Class LearnerTests
java.lang.Object
TestCase
aima.test.learningtest.LearnerTests
public class LearnerTests
- extends TestCase
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LearnerTests
public LearnerTests()
testMajorityLearner
public void testMajorityLearner()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDefaultUsedWhenTrainingDataSetHasNoExamples
public void testDefaultUsedWhenTrainingDataSetHasNoExamples()
throws java.lang.Exception
- Throws:
java.lang.Exception
testClassificationReturnedWhenAllExamplesHaveTheSameClassification
public void testClassificationReturnedWhenAllExamplesHaveTheSameClassification()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMajorityReturnedWhenAttributesToExamineIsEmpty
public void testMajorityReturnedWhenAttributesToExamineIsEmpty()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInducedTreeClassifiesDataSetCorrectly
public void testInducedTreeClassifiesDataSetCorrectly()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDecisionListLearnerReturnsNegativeDLWhenDataSetEmpty
public void testDecisionListLearnerReturnsNegativeDLWhenDataSetEmpty()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDecisionListLearnerReturnsFailureWhenTestsEmpty
public void testDecisionListLearnerReturnsFailureWhenTestsEmpty()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDecisionListTestRunOnRestaurantDataSet
public void testDecisionListTestRunOnRestaurantDataSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCurrentBestLearnerOnRestaurantDataSet
public void testCurrentBestLearnerOnRestaurantDataSet()
throws java.lang.Exception
- Throws:
java.lang.Exception