pe.population.composite_population module
- class pe.population.composite_population.CompositePopulation(populations)[source]
Bases:
PopulationUsing different population algorithms at different PE iterations.
- __init__(populations)[source]
Constructor.
- Parameters:
populations (list[
pe.population.Population]) – The list of populations to use at each PE iteration
- initial(label_info, num_samples)[source]
Generate the initial synthetic data.
- Parameters:
label_info (omegaconf.dictconfig.DictConfig) – The label info
num_samples (int) – The number of samples to generate
- Returns:
The initial synthetic data
- Return type:
- next(syn_data, num_samples)[source]
Generate the next synthetic data.
- Parameters:
syn_data (
pe.data.Data) – The synthetic datanum_samples (int) – The number of samples to generate
- Returns:
The next synthetic data
- Return type: