f39a564d9ff2fb19d7ffe2366729f9b877cb37f3,tpot/base.py,TPOTBase,_evaluate_individuals,#TPOTBase#Any#Any#Any#Any#,602
Before Change
// parallel computing in evaluation of pipeline
if not sys.platform.startswith("win"):
pool = Pool(processes=self.n_jobs)
resulting_score_list = pool.map(partial_cross_val_score, sklearn_pipeline_list)
else:
resulting_score_list = map(partial_cross_val_score, sklearn_pipeline_list)
for resulting_score, operator_count, individual_str, test_idx in zip(resulting_score_list, operator_count_list, eval_individuals_str, test_idx_list):
After Change
// parallel computing in evaluation of pipeline
if not sys.platform.startswith("win"):
parallel = Parallel(n_jobs=self.n_jobs)
resulting_score_list = parallel(delayed(self._wrapped_cross_val_score)(self.max_eval_time_mins, clone(sklearn_pipeline),
features=features, classes=classes, cv=self.cv, scoring_function=self.scoring_function,
sample_weight_dict=sample_weight_dict, pbar=self._pbar, verbosity=self.verbosity)
for sklearn_pipeline in sklearn_pipeline_list)
pool = Pool(processes=self.n_jobs)
resulting_score_list = pool.map(partial_cross_val_score, sklearn_pipeline_list)
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances Project Name: EpistasisLab/tpot
Commit Name: f39a564d9ff2fb19d7ffe2366729f9b877cb37f3
Time: 2017-02-14
Author: weixuanf@mail.med.upenn.edu
File Name: tpot/base.py
Class Name: TPOTBase
Method Name: _evaluate_individuals
Project Name: EpistasisLab/tpot
Commit Name: 831f5ce7aad0b8172f965c519d0835465ecc7a12
Time: 2017-03-31
Author: weixuanf@upenn.edu
File Name: tpot/base.py
Class Name: TPOTBase
Method Name: _evaluate_individuals
Project Name: theislab/scanpy
Commit Name: d69aa1862f77db07d8aee64303fa6576701850af
Time: 2021-03-03
Author: ivirshup@gmail.com
File Name: scanpy/preprocessing/_simple.py
Class Name:
Method Name: regress_out