pe.api package
Subpackages
Submodules
pe.api.api module
- class pe.api.api.API[source]
Bases:
ABC
The abstract class that defines the APIs for the synthetic data generation.
- abstract random_api(label_info, num_samples)[source]
The abstract method that generates random synthetic data.
- Parameters:
label_info (dict) – The info of the label
num_samples (int) – The number of random samples to generate
- abstract variation_api(syn_data)[source]
The abstract method that generates variations of the synthetic data.
- Parameters:
syn_data (
pe.data.data.Data
) – The data object of the synthetic data