8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49b03be commit 62b1e26Copy full SHA for 62b1e26
sklearn/decomposition/tests/test_pca.py
@@ -532,6 +532,9 @@ def check_pca_float_dtype_preservation(svd_solver):
532
assert pca_64.transform(X_64).dtype == np.float64
533
assert pca_32.transform(X_32).dtype == np.float32
534
535
+ # the rtol is set such that the test passes on all platforms tested on
536
+ # conda-forge: PR#15775
537
+ # see: https://github.com/conda-forge/scikit-learn-feedstock/pull/113
538
assert_allclose(pca_64.components_, pca_32.components_, rtol=2e-4)
539
540
0 commit comments