mirror of
https://github.com/IBM/ai-privacy-toolkit.git
synced 2026-04-24 20:36:21 +02:00
add dataset wrapper to docstring
This commit is contained in:
parent
300e391432
commit
c0dbb200e7
1 changed files with 3 additions and 3 deletions
|
|
@ -42,9 +42,9 @@ class Anonymize:
|
|||
"""
|
||||
Method for performing model-guided anonymization.
|
||||
|
||||
:param x: The training data for the model. If provided as a pandas dataframe, may contain both numeric and
|
||||
categorical data.
|
||||
:param y: The predictions of the original model on the training data.
|
||||
:param dataset: Data wrapper Containing The training data for the model and ehe predictions of the
|
||||
original model on the training data. If provided as a pandas
|
||||
dataframe, may contain both numeric and categorical data.
|
||||
:return: An array containing the anonymized training dataset.
|
||||
"""
|
||||
if type(dataset.x) == np.ndarray:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue