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

Add determinant(like scipy.linalg.det/slogdet) to dask.array.linalg #11042

Open
lithomas1 opened this issue Apr 10, 2024 · 0 comments
Open

Add determinant(like scipy.linalg.det/slogdet) to dask.array.linalg #11042

lithomas1 opened this issue Apr 10, 2024 · 0 comments
Labels

Comments

@lithomas1
Copy link

Just opening this issue to track missing bits from the array API missing in scikit-learn.

There's only one use of det/slogdet in scikit-learn, but I figured others might want to be able to do determinants in dask.

I think this can be implemented by doing a PLU decomp and then getting the determinant of the P matrix, and the product of diagonals of L and U.

Calculating the determinant of P (or more precisely its sign) doesn't seem to be easy, though.
(Maybe pivots, like scipy.linalg.lu_factor provides are needed?)

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

2 participants