Package nltk_lite :: Package contrib :: Package classifier_tests :: Module discretisetests :: Class DiscretiseTestCase
[hide private]
[frames] | no frames]

Class DiscretiseTestCase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   DiscretiseTestCase

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
test_decodes_algorithm_training_other_files_attributes_options(self) source code
 
test_throws_error_when_any_of_the_attributes_are_missing(self) source code
 
test_options_are_optional_for_naive_supervised_algorithm(self) source code
 
test_instances_attributes_and_options_are_extracted_from_strings(self) source code
 
test_unsupervised_equal_width_discretisation(self) source code
 
test_returns_array_of_discretised_attributes(self) source code
 
test_option_cannot_be_zero(self) source code
 
test_ranges_from_chunks(self) source code
 
test_get_chunks_with_frequency(self) source code
 
test_unsupervised_equal_frequency(self) source code
 
test_naive_supervised_discretisation(self) source code
 
test_stores_subset(self) source code
 
get_instances(self, path, get_test=True, get_gold=True) 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__