Skip to content

Investigate impact of rejecting sparse inputs in get_namespace - #29470

Closed
ogrisel wants to merge 3 commits into
scikit-learn:mainfrom
ogrisel:investigate-impact-of-rejecting-sparse-inputs-in-get_namespace
Closed

ogrisel wants to merge 3 commits into
scikit-learn:mainfrom
ogrisel:investigate-impact-of-rejecting-sparse-inputs-in-get_namespace

Conversation

@ogrisel

@ogrisel ogrisel commented Jul 11, 2024

Copy link
Copy Markdown
Member

This is a draft PR to see the list of things that break if we consistently reject sparse inputs in get_namespace (whether or not array_api_dispatch is enabled).

This is based on the minimal fix for check_array submitted independently under #29469 as an alternative to #29466. See discussion in #29466 for context.

Note: I already updated check_non_negative as part of this PR but not type_of_target because it's much more involved.

But first let's run the CI to find other cases.

@ogrisel ogrisel changed the title Investigate impact of rejecting sparse inputs in get namespace Investigate impact of rejecting sparse inputs in get_namespace Jul 11, 2024
@github-actions

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: cf21705. Link to the linter CI: here

@ogrisel

ogrisel commented Jul 11, 2024

Copy link
Copy Markdown
Member Author

Closing since the purpose of this PR was to trigger a single CI run to identify all occurrences of this pattern in the current state of our code base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant