ef7718f02b743dbecfee08b9427a09e8b49a0fab,tpot/base.py,TPOTBase,_evaluate_individuals,#TPOTBase#Any#Any#Any#Any#,603
Before Change
sk_chunk_list = sklearn_pipeline_list[i:i+self.n_jobs*2]
if not sys.platform.startswith("win"):
pool = Pool(processes=self.n_jobs)
chunk_res = pool.map(_wrapped_cross_val_score, sk_chunk_list)
else:
chunk_res += map(_wrapped_cross_val_score, sk_chunk_list)
for res in chunk_res:
self._pbar.update(1)
resulting_score_list += chunk_res
After Change
while True:
num_job_done = len(res_imap._items)
if not self._pbar.disable:
self._pbar.update(ini_pbar_n + num_job_done - self._pbar.n)
if num_job_done >= len(sklearn_pipeline_list):
break
resulting_score_list = list(res_imap)
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: EpistasisLab/tpot
Commit Name: ef7718f02b743dbecfee08b9427a09e8b49a0fab
Time: 2017-02-22
Author: weixuanf@mail.med.upenn.edu
File Name: tpot/base.py
Class Name: TPOTBase
Method Name: _evaluate_individuals
Project Name: tensorflow/datasets
Commit Name: 0f4616ac9a4f4db956a4e73c70218ad113af5e68
Time: 2020-10-26
Author: devilincarcerated020@yahoo.com
File Name: tensorflow_datasets/scripts/cleanup/url_filename_recorder.py
Class Name:
Method Name: main
Project Name: okfn-brasil/serenata-de-amor
Commit Name: 33b6c38639431160bc1a67db57931116bfe044a2
Time: 2017-01-06
Author: cuducos@gmail.com
File Name: jarbas/core/management/commands/irregularities.py
Class Name: Command
Method Name: main