8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94876f4 commit db288e1 8000 Copy full SHA for db288e1
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