bdranalytics.sklearn.tests package

Submodules

bdranalytics.sklearn.tests.test_model_selection module

class bdranalytics.sklearn.tests.test_model_selection.TestGrowingWindow(methodName='runTest')[source]

Bases: unittest.case.TestCase

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.

test_n_splits()[source]
test_n_splits_returned()[source]
test_n_splits_testsize()[source]
test_n_splits_testsize2()[source]
class bdranalytics.sklearn.tests.test_model_selection.TestIntervalGrowingWindow(methodName='runTest')[source]

Bases: unittest.case.TestCase

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.

test_n_splits()[source]
test_split_on_array()[source]
test_split_on_index()[source]
test_split_test_size()[source]
test_split_with_train_size()[source]
bdranalytics.sklearn.tests.test_model_selection.create_time_series_data_set(start_date=datetime.datetime(2000, 1, 1, 0, 0), n_rows=100)[source]