98c7bceff0688beb82feae55d895b0d3425aeee5,deeppavlov/models/evolution/evolution_param_generator.py,ParamsEvolution,next_generation,#ParamsEvolution#Any#Any#Any#,190

Before Change


                // if elite models are saved with weights
                next_population[i] = self.insert_value_or_dict_into_config(
                    next_population[i],
                    self.get_value_from_config(next_population[i],
                                                self.main_model_path + ["load_path"]),
                    str(Path(self.get_value_from_config(next_population[i],
                                                         self.main_model_path + ["save_path"])).parent))
            else:

After Change


                pass

            save_path_prev = self.get_value_from_config(next_population[i], self.main_model_path + ["save_path"])
            load_path_prev = self.get_value_from_config(next_population[i], self.main_model_path + ["load_path"])

            if self.elitism_with_weights:
                // if elite models are saved with weights
                next_population[i] = self.insert_value_or_dict_into_config(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: 98c7bceff0688beb82feae55d895b0d3425aeee5
Time: 2018-06-26
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: next_generation


Project Name: deepmipt/DeepPavlov
Commit Name: 938e1cb2b84e62f55ccbeb9e0efde65303b9ef1e
Time: 2018-06-19
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: mutation


Project Name: deepmipt/DeepPavlov
Commit Name: 938e1cb2b84e62f55ccbeb9e0efde65303b9ef1e
Time: 2018-06-19
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: next_generation


Project Name: deepmipt/DeepPavlov
Commit Name: 98c7bceff0688beb82feae55d895b0d3425aeee5
Time: 2018-06-26
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: mutation