hmm.labeling.tests module

class hmm.labeling.tests.LabelingFunctionTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Note: A response of 0 indicates that the user chooses not to interfere, thus saving the characters with suffix _noint. A response of 1 indicates the user chooses to interfere, thus saving the characters with suffix _int. A response of -1 indicates abstention.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

static df_from_dict(d, subd)[source]
static generate_df_null(subdict={})[source]
static generate_df_random(subdict={})[source]
setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_criminals()[source]
test_doctors()[source]
test_females()[source]
test_fitness()[source]
test_homeless()[source]
test_illegal()[source]
test_inaction()[source]
test_pedestrians()[source]
test_pets()[source]
test_spare_group()[source]
test_status()[source]
test_utilitarian()[source]
test_utilitarian_anthro()[source]
test_youth()[source]