synthetic_aia_mia.generator package¶
Submodules¶
synthetic_aia_mia.generator.adult module¶
- synthetic_aia_mia.generator.adult.ctgan(dadata)[source]¶
Generate synthetic data using ctgan trained on input data.
- Parameters:
data (fetch_data.Dataset) – Real dataset used to train ctgan.
- Returns:
Synthetic dataset.
- Return type:
synthetic_aia_mia.generator.example module¶
Show how to import the fetch_data package. If the dataset isn’t accessible, it will be downloaded using folktables API.
synthetic_aia_mia.generator.utk module¶
- synthetic_aia_mia.generator.utk.gan(dataset, iter_n=1000)[source]¶
Generate image using pygan.
- Parameters:
dataset (fetch_data.utk.StorageDataset) – Image dataset used to train the gan.
iter_n (int) – (Optional default=1000) Number of iterations.
- Returns:
A dataset with generated images.
:rtype : fetch_data.utk.StorageDataset
Module contents¶
Generate synthetic data and evaluate their quality.
- synthetic_aia_mia.generator.identity(x)[source]¶
Identity function. Return the input dataset.
- Parameters:
x (fetch_data.Dataset) – Dataset.
- Returns:
Return the input x as is.
- Return type: