2aa2f30f71f1458dcd74bb24c294850a4b5ed58e,geomstats/geometry/product_riemannian_metric.py,ProductRiemannianMetric,_iterate_over_metrics,#ProductRiemannianMetric#Any#Any#Any#,91

Before Change


        pool = mp.Pool(min(self.n_jobs, mp.cpu_count()))
        out = pool.starmap(
            self._get_method,
            [(self.metrics[i], func, args_list[i]) for i in range(
                self.n_metrics)])
        pool.close()
        return out

After Change


                     range(self.n_metrics)]
        pool = Parallel(n_jobs=min(self.n_jobs, cpu_count()))
        out = pool(
            delayed(self._get_method)(
                self.metrics[i], func, args_list[i]) for i in range(
                self.n_metrics))
        return out
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: geomstats/geomstats
Commit Name: 2aa2f30f71f1458dcd74bb24c294850a4b5ed58e
Time: 2020-03-30
Author: nicolas.guigui@inria.fr
File Name: geomstats/geometry/product_riemannian_metric.py
Class Name: ProductRiemannianMetric
Method Name: _iterate_over_metrics


Project Name: EpistasisLab/scikit-rebate
Commit Name: 971719830d589eba66434ddabfc62c1a689be677
Time: 2017-04-07
Author: weixuanf@upenn.edu
File Name: skrebate/relieff.py
Class Name: ReliefF
Method Name: _run_algorithm


Project Name: geomstats/geomstats
Commit Name: 2aa2f30f71f1458dcd74bb24c294850a4b5ed58e
Time: 2020-03-30
Author: nicolas.guigui@inria.fr
File Name: geomstats/geometry/product_manifold.py
Class Name: ProductManifold
Method Name: _iterate_over_manifolds