Skip to content
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

ENH: array api, using computational backend other than numpy #8809

Open
josef-pkt opened this issue Apr 18, 2023 · 0 comments
Open

ENH: array api, using computational backend other than numpy #8809

josef-pkt opened this issue Apr 18, 2023 · 0 comments
Labels

Comments

@josef-pkt
Copy link
Member

Other computational backends provide api similar to numpy, and computation can be dispatched in a compatible way.

This is a possibility to investigate, initially mainly for parts that are outside full models because those contain too much surrounding code that would need to change, e.g. base.data.

maybe that would also work for dask, e.g. #8629

2 sklearn PRs:
scikit-learn/scikit-learn#22554
scikit-learn/scikit-learn#25956

One possibility to strip base.data handling is to create a model subclass that does not call super().__init__. But it would still need to add non-data initialization like df_xxx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant