bdranalytics.sklearn.preprocessing.tests package

Submodules

bdranalytics.sklearn.preprocessing.tests.test_encoding module

class bdranalytics.sklearn.preprocessing.tests.test_encoding.TestEncoding(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.

static create_dataset()[source]

Creates a data set with some categorical variables

test_weight_of_evidence()[source]

Unit test for WeightOfEvidenceEncoder class

verify_numeric(X_test)[source]

bdranalytics.sklearn.preprocessing.tests.test_scaling module

class bdranalytics.sklearn.preprocessing.tests.test_scaling.TestPreprocessing(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.

static create_regression_dataset()[source]

Creates a data set with only numerical data

test_dummy_pipeline()[source]

Just checking setup of a dummy regressor in a pipeline :return: None

test_scaled_target()[source]
test_scaled_target_with_set_params()[source]