c9d1557a315998f582af07dbac731b3442f6b09a,examples/03_connectivity/plot_rest_clustering.py,,,#,32

Before Change


mean_func_img = mean_img(dataset.func[0])


first_plot = plotting.plot_roi(kmeans_labels_img, mean_func_img,
                               title="KMeans parcellation",
                               display_mode="xz")
second_plot = plotting.plot_roi(ward_labels_img, mean_func_img,
                                title="Ward parcellation",
                                display_mode="xz")

After Change


// visualization.
kmeans_labels_img = kmeans.masker_.inverse_transform(kmeans.labels_)

plotting.plot_roi(kmeans_labels_img, mean_func_img,
                  title="KMeans parcellation",
                  display_mode="xz")

// kmeans_labels_img is a Nifti1Image object, it can be saved to file with
// the following code:
kmeans_labels_img.to_filename("kmeans_parcellation.nii")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilearn/nilearn
Commit Name: c9d1557a315998f582af07dbac731b3442f6b09a
Time: 2018-03-08
Author: dkamalakarreddy@gmail.com
File Name: examples/03_connectivity/plot_rest_clustering.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: b4b7dede2af7bff8cdc6bf18760ea8283eb7281b
Time: 2015-07-21
Author: abraham.alexandre@gmail.com
File Name: examples/manipulating_visualizing/plot_mask_computation.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: b4b7dede2af7bff8cdc6bf18760ea8283eb7281b
Time: 2015-07-21
Author: abraham.alexandre@gmail.com
File Name: examples/manipulating_visualizing/plot_atlas.py
Class Name:
Method Name: