c943318502c17ea9d909e79ce898431282768cb9,plot_poldrack_space_net.py,,,#,6

Before Change


////// Load data ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
from load_poldrack import load_gain_poldrack
mem = Memory(cachedir="cache", verbose=3)
X, y, _, mask, affine = mem.cache(load_gain_poldrack)(smooth=0)
img_data = np.zeros(list(mask.shape) + [len(X)])
img_data[mask, :] = X.T

// prepare input data for learner

After Change


////// Load data ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
from nilearn.datasets import fetch_mixed_gambles
mem = Memory(cachedir="cache", verbose=3)
data = mem.cache(fetch_mixed_gambles)("data/Jimura_Poldrack_2012_zmaps",
                                      n_subjects=16, make_Xy=True)
X, y, mask_img = data.X, data.y, data.mask_img

// prepare input data for learner
n_samples = len(X)
n_samples_train = n_samples * 8 / 10
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: nilearn/nilearn
Commit Name: c943318502c17ea9d909e79ce898431282768cb9
Time: 2015-07-28
Author: elvis.dohmatob@inria.fr
File Name: plot_poldrack_space_net.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 07bbcbb72cbfcea9ef10087167163138165c5003
Time: 2015-07-28
Author: elvis.dohmatob@inria.fr
File Name: plot_poldrack_space_net.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 1adf6bb44e1897757464394bcf7502de30278b16
Time: 2015-04-20
Author: abraham.alexandre@gmail.com
File Name: nilearn/_utils/niimg_conversions.py
Class Name:
Method Name: _iter_check_niimg


Project Name: Pinafore/qb
Commit Name: 2f74f04253d5a90459401d0f09ea0559d50371a0
Time: 2016-06-25
Author: ski.rodriguez@gmail.com
File Name: util/guess.py
Class Name: GuessList
Method Name: check_recall