Add model type to blackbox classifier (#49)

This commit is contained in:
abigailt 2022-07-18 19:27:14 +03:00 committed by abigailgold
parent bc28f7f26a
commit bc7ab0cc7f
2 changed files with 26 additions and 2 deletions

View file

@ -79,6 +79,8 @@ def test_blackbox_classifier():
score = model.score(test)
assert(score == 1.0)
assert model.model_type is None
def test_blackbox_classifier_no_test():
(x_train, y_train), (_, _) = dataset_utils.get_iris_dataset_np()