Skip to content

Commit 21b1dee

Browse files
add tests for the intercept scikit-learn-contrib#214
1 parent 1b699a3 commit 21b1dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skglm/experimental/tests/test_sqrt_lasso.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_alpha_max():
1616

1717
sqrt_lasso = SqrtLasso(alpha=alpha_max).fit(X, y)
1818

19-
np.testing.assert_equal(sqrt_lasso.coef_, 0)
19+
np.testing.assert_equal(sqrt_lasso.coef_[:n_features], 0)
2020

2121

2222
def test_vs_statsmodels():

0 commit comments

Comments
 (0)