56f63c1ee1e1bf5d06550373b39caa085fdc9f12,nilearn/decoding/tests/test_same_api.py,,test_smoothlasso_and_tv_same_for_pure_l1_another_test,#Any#,167
Before Change
X = np.ones((n, 1)) + W_init.ravel().T
X += np.random.randn(n, p)
y = np.dot(X, W_init.ravel())
mask = np.ones(X.shape[1]).astype(np.bool).reshape(dim)
alpha = .1
l1_ratio = 1.
max_iter = 20
After Change
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
X, y, _, mask = _make_data(masked=True)
X, mask = to_niimgs(X, (4, 5, 6))
alpha = .1
l1_ratio = 1.
max_iter = 20
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 9
Instances
Project Name: nilearn/nilearn
Commit Name: 56f63c1ee1e1bf5d06550373b39caa085fdc9f12
Time: 2015-07-28
Author: elvis.dohmatob@inria.fr
File Name: nilearn/decoding/tests/test_same_api.py
Class Name:
Method Name: test_smoothlasso_and_tv_same_for_pure_l1_another_test
Project Name: nilearn/nilearn
Commit Name: 56f63c1ee1e1bf5d06550373b39caa085fdc9f12
Time: 2015-07-28
Author: elvis.dohmatob@inria.fr
File Name: nilearn/decoding/tests/test_same_api.py
Class Name:
Method Name: test_coef_shape
Project Name: nilearn/nilearn
Commit Name: e706526aef384392be0395e7c69e3795289ada11
Time: 2015-07-28
Author: elvis.dohmatob@inria.fr
File Name: nilearn/decoding/tests/test_same_api.py
Class Name:
Method Name: test_smoothlasso_and_tv_same_for_pure_l1_another_test
Project Name: nilearn/nilearn
Commit Name: 56f63c1ee1e1bf5d06550373b39caa085fdc9f12
Time: 2015-07-28
Author: elvis.dohmatob@inria.fr
File Name: nilearn/decoding/tests/test_same_api.py
Class Name:
Method Name: test_smoothlasso_and_tv_same_for_pure_l1_another_test
Project Name: nilearn/nilearn
Commit Name: e706526aef384392be0395e7c69e3795289ada11
Time: 2015-07-28
Author: elvis.dohmatob@inria.fr
File Name: nilearn/decoding/tests/test_same_api.py
Class Name:
Method Name: test_coef_shape