tests.models package

Submodules

tests.models.test_model module

class tests.models.test_model.TestModel(methodName='runTest')[source]

Bases: TestCase

Class with tests associated with Model class.

test_build_pipeline()[source]

Method tests the build_pipeline method of the model.

test_count_accuracy()[source]

Method tests the count_accuracy method of the model.

test_get_X()[source]

Method tests the get_X method of the model.

test_get_X_test()[source]

Method tests the get_X_test method of the model.

test_get_X_train()[source]

Method tests the get_X_train method of the model.

test_get_clf()[source]

Method tests the get_clf method of the model.

test_get_pipeline()[source]

Method tests the get_pipeline method of the model.

test_get_random_state()[source]

Method tests the get_random_state method of the model.

test_get_test_size()[source]

Method tests the get_test_size method of the model.

test_get_y()[source]

Method tests the get_y method of the model.

test_get_y_pred()[source]

Method tests the get_y_pred method of the model.

test_get_y_test()[source]

Method tests the get_y_test method of the model.

test_get_y_train()[source]

Method tests the get_y_train method of the model.

test_init()[source]

Method tests the initialization of a model

test_set_X()[source]

Method tests the set_X method of the model.

test_set_X_test()[source]

Method tests the set_X_test method of the model.

test_set_X_train()[source]

Method tests the set_X_train method of the model.

test_set_clf()[source]

Method tests the set_clf method of the model.

test_set_random_state()[source]

Method tests the set_random_state method of the model.

test_set_test_size()[source]

Method tests the set_test_size method of the model.

test_set_y()[source]

Method tests the set_y method of the model.

test_set_y_pred()[source]

Method tests the set_y_pred method of the model.

test_set_y_test()[source]

Method tests the set_y_test method of the model.

test_set_y_train()[source]

Method tests the set_y_train method of the model.

test_train()[source]

Method tests the train method of the model.

Module contents