8000 MAINT XFAIL check_sample_weight_equivalence for LinearRegression on 32 bit CI by ogrisel · Pull Request #31101 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

MAINT XFAIL check_sample_weight_equivalence for LinearRegression on 32 bit CI #31101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion sklearn/utils/_test_common/instance_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
from sklearn.utils import all_estimators
from sklearn.utils._tags import get_tags
from sklearn.utils._testing import SkipTest
from sklearn.utils.fixes import parse_version, sp_base_version
from sklearn.utils.fixes import _IS_32BIT, parse_version, sp_base_version

CROSS_DECOMPOSITION = ["PLSCanonical", "PLSRegression", "CCA", "PLSSVD"]

Expand Down Expand Up @@ -1283,5 +1283,17 @@ def _get_expected_failed_checks(estimator):
"check_dataframe_column_names_consistency": "FIXME",
}
)
if type(estimator) == LinearRegression:
if _IS_32BIT:
failed_checks.update(
{
"check_sample_weight_equivalence_on_dense_data": (
"Issue #31098. Fails on 32-bit platforms with recent scipy."
),
"check_sample_weight_equivalence_on_sparse_data": (
"Issue #31098. Fails on 32-bit platforms with recent scipy."
),
}
)

return failed_checks
0