mirror of
https://github.com/IBM/ai-privacy-toolkit.git
synced 2026-06-05 14:55:13 +02:00
Add model type to blackbox classifier (#49)
This commit is contained in:
parent
bc28f7f26a
commit
bc7ab0cc7f
2 changed files with 26 additions and 2 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue