Skip to content

Commit d670653

Browse files
authored
Deselect PCA dtype test for sklearn=1.4 (#2666)
* Deselect PCA dtype test for sklearn=1.4 * Change comment * Change deselection condition * Move to public tests section * Update comment
1 parent 870f65c commit d670653

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

deselected_tests.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,12 @@ public:
447447
- decomposition/tests/test_pca.py::test_pca_array_api_compliance[PCA(n_components=2,svd_solver='covariance_eigh')-check_array_api_input_and_values-array_api_strict-None-None] >=1.5,<1.6
448448
- decomposition/tests/test_pca.py::test_pca_array_api_compliance[PCA(n_components=2,svd_solver='covariance_eigh',whiten=True)-check_array_api_input_and_values-array_api_strict-None-None] >=1.5,<1.6
449449

450+
# sklearn 1.4 has different absolute and relative tolerances for this test,
451+
# set of available solvers and corresponding sklearnex rules to choose one
452+
# than newer versions resulting in test failure on some systems when
453+
# single-threaded computation is used which is a frequent case for CI
454+
- decomposition/tests/test_pca.py::test_pca_dtype_preservation[full] <1.5
455+
450456
# --------------------------------------------------------
451457
# The following tests currently fail with GPU offloading
452458
gpu:

0 commit comments

Comments
 (0)