mirror of
https://github.com/IBM/ai-privacy-toolkit.git
synced 2026-06-08 15:05:13 +02:00
fix docstring
This commit is contained in:
parent
c2c7a01078
commit
65388da605
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ class PyTorchClassifier(PyTorchModel):
|
|||
"""
|
||||
Score the model using test data.
|
||||
:param test_data: Test data.
|
||||
:type train_data: `Dataset`
|
||||
:type test_data: `Dataset`
|
||||
:return: the score as float (between 0 and 1)
|
||||
"""
|
||||
y = check_and_transform_label_format(test_data.get_labels(), self._art_model.nb_classes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue