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

Implement matrix inverse from scratch #2

Open
convoliution opened this issue Nov 2, 2017 · 2 comments
Open

Implement matrix inverse from scratch #2

convoliution opened this issue Nov 2, 2017 · 2 comments
Assignees

Comments

@convoliution
Copy link
Owner

Right now in linalg.py, I'm using numpy.linalg.inv() for matrix inverses.
I'd like to implement it from scratch instead, but it looks rather difficult...

Cholesky decomposition looks tractable, see:

@convoliution
Copy link
Owner Author

Note that Cholesky decomposition is only applicable to Hermitian matrices, which will work for PCA but hopefully I can also implement a more general-case algorithm like LUP decomposition as a fallback

@convoliution
Copy link
Owner Author

convoliution commented Feb 1, 2018

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

No branches or pull requests

1 participant