8000 TST Fix test_truncated_svd.py::test_explained_variance_compone… (#14178) · scikit-learn/scikit-learn@a413f88 · GitHub
[go: up one dir, main page]

Skip to content

Commit a413f88

Browse files
rththomasjpfan
authored andcommitted
TST Fix test_truncated_svd.py::test_explained_variance_compone… (#14178)
1 parent 24d4b2c commit a413f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/decomposition/tests/test_truncated_svd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def test_explained_variance_components_10_20(X_sparse, kind, solver):
121121
assert_allclose(
122122
svd_10.explained_variance_ratio_,
123123
svd_20.explained_variance_ratio_[:10],
124-
rtol=3e-3,
124+
rtol=5e-3,
125125
)
126126

127127
# Assert that 20 components has higher explained variance than 10

0 commit comments

Comments
 (0)
0