56f63c1ee1e1bf5d06550373b39caa085fdc9f12,nilearn/decoding/tests/test_same_api.py,,test_smoothlasso_and_tv_same_for_pure_l1_another_test,#Any#,167
Before Change
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
dim = (16, 16)
W_init = np.zeros(dim)
W_init[2:6, 3:7] = 1
np.random.seed(0)
n = 10
p = dim[0] * dim[1]
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
// when l1_ratio = 1.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
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: 24
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: e706526aef384392be0395e7c69e3795289ada11
Time: 2015-07-28
Author: elvis.dohmatob@inria.fr
File Name: nilearn/decoding/tests/test_same_api.py
Class Name:
Method Name: test_same_energy_calculus_pure_lasso
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_same_energy_calculus_pure_lasso
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