def create_iteration(self, num_suggestions):
from db.models.experiment_groups import ExperimentGroupIteration<EOL>iteration_config = BaseIterationConfig(iteration=<NUM_LIT:0>,<EOL>num_suggestions=num_suggestions,<EOL>experiment_ids=[])<EOL>return ExperimentGroupIteration.objects.create(<EOL>experiment_group=self.experiment_group,<EOL>data=iteration_config.to_dict())<EOL>
Create an iteration for the experiment group (works for grid and random).