test.unit.utils package

Submodules

test.unit.utils.test_convert_to_array module

class test.unit.utils.test_convert_to_array.Test_convert_to_array(methodName='runTest')

Bases: TestCase

Test array type handling.

test_bad_type_cast()

Raise error when casting arrays that do not contain supported types.

test_convertable_input()

Raise warning when casting.

test_panda_handla()

Splitting Dataframes and series should return them as such.

test_unconvertable_input()

Raise error when casting fails.

test.unit.utils.test_sampler_factory module

class test.unit.utils.test_sampler_factory.Test_sampler_factory(methodName='runTest')

Bases: TestCase

Test SamplerFactory functions on all samplers.

classmethod setUpClass()

Save re-used arrays as class attributes.

test_train_test_split()

Call sampler factory on all inputs.

test.unit.utils.test_utils module

class test.unit.utils.test_utils.Test_utils(methodName='runTest')

Bases: TestCase

Test functions within utils.py.

classmethod setUpClass()

Save re-used arrays as class attributes.

test_generate_regression_results_dict()

Generate results dictionary for simple regression task.

Module contents