Package nltk_lite :: Package contrib :: Package classifier_tests :: Module zerortests :: Class ZeroRTestCase
[hide private]
[frames] | no frames]

Class ZeroRTestCase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   ZeroRTestCase

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
test_zeroR_instance_is_created_with_training_data(self) source code
 
test_zeroR_verifies_validity_of_training_data(self) source code
 
test_majority_class(self) source code
 
test_majority_class_is_set_on_test_instances(self) source code
 
test_verify_returns_correct_confusion_matrix(self) source code
 
test_can_classify_data_having_continuous_attributes(self) source code

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, setUp, shortDescription, tearDown

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__