Package nltk_lite :: Package contrib :: Package classifier_tests :: Module instancestests :: Class InstancesTestCase
[hide private]
[frames] | no frames]

Class InstancesTestCase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   InstancesTestCase

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
test_the_number_of_instances(self) source code
 
test_validatiy_of_attribute_values(self) source code
 
test_equality(self) source code
 
test_gold_instances_are_created_from_gold_files(self) source code
 
test_gold_insts_thrws_system_error_if_confusion_matrix_is_invoked_bfore_classification(self) source code
 
test_filtering_does_not_affect_existing_instances(self) source code
 
test_ranges_of_attribute_values(self) source code
 
test_ranges_of_multiple_attribute_values(self) source code
 
test_attempt_to_discretise_non_continuous_attribute_raises_error(self) source code
 
test_discretise_using_discretised_attributes(self) source code
 
test_values_grouped_by_attribute(self) source code
 
test_returns_array_of_all_klass_values(self) source code
 
test_sort_by_attribute(self) source code
 
test_ranges_from_breakpoints(self) source code
 
test_simple_naive_breakpoints(self) source code
 
test_naive_breakpoints_with_shifting(self) source code
 
test_breakpoints_in_class_membership(self) source code
 
test_entropy_based_breakpoints(self) source code
 
test_adjust_for_min_freq(self) source code
 
test_naive_discretisation_version1(self) source code
 
test_naive_discretisation_version2(self) source code
 
test_remove_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__