987a4a93f98eec5f69c34d62ab92b6e63d5c07bb,examples/02_decoding/plot_haxby_space_net.py,,,#,16

Before Change



// Restrict to face and house conditions
conditions = behavioral["labels"]
condition_mask = np.logical_or(conditions == b"face",
                               conditions == b"house")

// Split data into train and test samples, using the chunks
condition_mask_train = np.logical_and(condition_mask, behavioral["chunks"] <= 6)
condition_mask_test = np.logical_and(condition_mask, behavioral["chunks"] > 6)

After Change


behavioral = pd.read_csv(data_files.session_target[0], delimiter=" ")

// Restrict to face and house conditions
conditions = behavioral["labels"]
condition_mask = conditions.isin(["face", "house"])

// Split data into train and test samples, using the chunks
condition_mask_train = np.logical_and(condition_mask, behavioral["chunks"] <= 6)
condition_mask_test = np.logical_and(condition_mask, behavioral["chunks"] > 6)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 9

Instances


Project Name: nilearn/nilearn
Commit Name: 987a4a93f98eec5f69c34d62ab92b6e63d5c07bb
Time: 2017-11-16
Author: emd222@cornell.edu
File Name: examples/02_decoding/plot_haxby_space_net.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 48a4af7f2e248d4fe2c2853a3ec7457564da93bc
Time: 2017-11-16
Author: emd222@cornell.edu
File Name: examples/02_decoding/plot_haxby_different_estimators.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 987a4a93f98eec5f69c34d62ab92b6e63d5c07bb
Time: 2017-11-16
Author: emd222@cornell.edu
File Name: examples/02_decoding/plot_haxby_grid_search.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 987a4a93f98eec5f69c34d62ab92b6e63d5c07bb
Time: 2017-11-16
Author: emd222@cornell.edu
File Name: examples/plot_decoding_tutorial.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 987a4a93f98eec5f69c34d62ab92b6e63d5c07bb
Time: 2017-11-16
Author: emd222@cornell.edu
File Name: examples/02_decoding/plot_haxby_space_net.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 987a4a93f98eec5f69c34d62ab92b6e63d5c07bb
Time: 2017-11-16
Author: emd222@cornell.edu
File Name: examples/05_advanced/plot_haxby_mass_univariate.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 987a4a93f98eec5f69c34d62ab92b6e63d5c07bb
Time: 2017-11-16
Author: emd222@cornell.edu
File Name: examples/02_decoding/plot_haxby_searchlight.py
Class Name:
Method Name: