9bc4276246f6fd0bf487bd76686dc2fc4f41b1b1,examples/03_connectivity/plot_group_level_connectivity.py,,,#,36

Before Change



//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Then we compute region signals and extract useful phenotypic informations.
adhd_subjects = []
pooled_subjects = []
site_names = []
adhd_labels = []  // 1 if ADHD, 0 if control
for func_file, confound_file, phenotypic in zip(

After Change


// proportion of each class as in the whole cohort
from sklearn.model_selection import StratifiedKFold

_, classes = np.unique(groups, return_inverse=True)
cv = StratifiedKFold(n_splits=3)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// and use the connectivity coefficients to classify ADHD patients vs controls.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: nilearn/nilearn
Commit Name: 9bc4276246f6fd0bf487bd76686dc2fc4f41b1b1
Time: 2019-04-15
Author: dkamalakarreddy@gmail.com
File Name: examples/03_connectivity/plot_group_level_connectivity.py
Class Name:
Method Name:


Project Name: open-mmlab/mmdetection
Commit Name: 2d2e5c6f42b6f4b8ab4f68985b1fd7823e3be505
Time: 2021-01-13
Author: 35596075+congee524@users.noreply.github.com
File Name: docs/stat.py
Class Name:
Method Name:


Project Name: CamDavidsonPilon/lifelines
Commit Name: b649cc365040d9cd63631c763d1c485dfe981399
Time: 2020-05-11
Author: cam.davidson.pilon@gmail.com
File Name: experiments/working_npmle.py
Class Name:
Method Name:


Project Name: rushter/MLAlgorithms
Commit Name: 33d2662530633b7d60cdecf32ec162a9d0e0182d
Time: 2016-11-19
Author: me@rushter.com
File Name: mla/ensemble/tree.py
Class Name: Tree
Method Name: _find_splits