f3a2c1c56b56f28f88963db869377036f01af831,nilearn/decoding/searchlight.py,,_group_iter_search_light,#,118
Before Change
kwargs = dict()
if LooseVersion(sklearn.__version__) >= LooseVersion("0.18"):
kwargs["groups"] = groups
elif scoring is not No ne:
warnings.warn("Scikit-learn version is too old. "
"scoring argument ignored", stacklevel=2)
par_scores[i] = np.mean(cross_val_score(estimator, X[:, row],
y, cv=cv, n_jobs=1,
**kwargs))
if verbose > 0:
After Change
t0 = time.time()
for i, row in enumerate(list_rows):
kwargs = dict()
kwargs["scoring"] = scoring
kwargs["groups"] = groups
par_scores[i] = np.mean(cross_val_score(estimator, X[:, row],
y, cv=cv, n_jobs=1,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: nilearn/nilearn
Commit Name: f3a2c1c56b56f28f88963db869377036f01af831
Time: 2018-08-04
Author: kc.insight.pi@gmail.com
File Name: nilearn/decoding/searchlight.py
Class Name:
Method Name: _group_iter_search_light
Project Name: AxeldeRomblay/MLBox
Commit Name: 5229c0512485bbf06c20bf9c1ce631d3e3c8517e
Time: 2017-07-26
Author: axelderomblay@gmail.com
File Name: python-package/mlbox/prediction/predictor.py
Class Name: Predictor
Method Name: __plot_feature_importances
Project Name: ANTsX/ANTsPy
Commit Name: e6b4b1ed7c60cf2b059d8d2b318278a169ae5b1d
Time: 2020-10-30
Author: stnava@gmail.com
File Name: ants/segmentation/joint_label_fusion.py
Class Name:
Method Name: joint_label_fusion