test.unit.samplers.interpolative package
Submodules
test.unit.samplers.interpolative.test_kennard_stone module
- class test.unit.samplers.interpolative.test_kennard_stone.Test_kennard_stone(methodName='runTest')
Bases:
TestCase
Test the various functionalities of kennard_stone.
- classmethod setUpClass()
Save re-used arrays as class attributes.
- test_kennard_stone()
Directly instantiate and test KennardStone.
- test_kennard_stone_sample()
Use kennard stone in tts and verify results
- test_kennard_stone_sample_no_warning()
Use kennard stone with a mathematically possible split requested
test.unit.samplers.interpolative.test_random module
- class test.unit.samplers.interpolative.test_random.Test_random(methodName='runTest')
Bases:
TestCase
Test the various functionalities of Random.
- classmethod setUpClass()
Save re-used arrays as class attributes.
- test_random()
Directly instantiate and test random.
- test_random_sample()
Use kennard stone in tts and verify results
- test_random_sample_no_warning()
Use random with a mathematically possible split requested
test.unit.samplers.interpolative.test_spxy module
- class test.unit.samplers.interpolative.test_spxy.Test_SPXY(methodName='runTest')
Bases:
TestCase
Test the various functionalities of SPXY.
- classmethod setUpClass()
Convenience attributes for later tests.
- test_missing_y()
SPXY requires a y array and should complain when one is not provided.
- test_spxy()
Directly instantiate and test SPXY
- test_spxy_sampling()
Use spxy in the train_test_split and verify results.