Skip to content

Is it intention to drop check_estimator_sparse_data in 1.5? #28966

Closed
@koaning

Description

@koaning

Describe the bug

While running the 1.5.0 release candidate, my collaborator @FBruzzesi on scikit-lego ran our testing suite and noticed something breaking. Here's the error message:

ImportError while loading conftest '/home/runner/work/scikit-lego/scikit-lego/tests/conftest.py'.
tests/conftest.py:43: in <module>
    estimator_checks.check_estimator_sparse_data,
E   AttributeError: module 'sklearn.utils.estimator_checks' has no attribute 'check_estimator_sparse_data'. Did you mean: 'check_estimator_sparse_array'?

Figured I'd ping and check, did a function get renamed? If so, it feels breaking and I can't recall a warning (but I may be mistaken, please tell me if I missed that). This is mostly just a ping issue so folks are aware, feel free to close if this feels like a false alarm.

Steps/Code to Reproduce

from sklearn.utils import estimator_checks

estimator_checks.check_estimator_sparse_array

Expected Results

No error is thrown.

Actual Results

AttributeError: module 'sklearn.utils.estimator_checks' has no attribute 'check_estimator_sparse_data'. Did you mean: 'check_estimator_sparse_array'?

Versions

This is the v1.5rc01

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions