d3d91cb4d27ff6826d755f0377b54ea999105490,plot_ica_resting_state.py,,,#,14

Before Change


// Now we inverting the masking operation, to go back to a full 3D
// representation
(x, y, z) = mean_img.shape
components = np.zeros((x, y, z, n_components))
components[mask] = components_masked

// Using a masked array is important to have transparency in the figures

After Change



// Now we inverting the masking operation, to go back to a full 3D
// representation
component_img = masker.inverse_transform(components_masked)
components = component_img.get_data()

// Using a masked array is important to have transparency in the figures
components = np.ma.masked_equal(components, 0, copy=False)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: nilearn/nilearn
Commit Name: d3d91cb4d27ff6826d755f0377b54ea999105490
Time: 2012-09-18
Author: gael.varoquaux@normalesup.org
File Name: plot_ica_resting_state.py
Class Name:
Method Name:


Project Name: rasbt/mlxtend
Commit Name: aefd8bcf146d6de8f19fc0c3c5873880bc82886f
Time: 2015-02-23
Author: se.raschka@me.com
File Name: mlxtend/sklearn/ensemble.py
Class Name: EnsembleClassifier
Method Name: predict


Project Name: scikit-optimize/scikit-optimize
Commit Name: 246339ce01898c92ce9e143895c5def9c46dcb78
Time: 2016-06-14
Author: g.louppe@gmail.com
File Name: skopt/gp_opt.py
Class Name:
Method Name: gp_minimize