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

More efficient projection in svd pullback #755

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Nov 10, 2023

  1. More efficient projection in svd pullback

    The formula (I - U*U')*X can be extremely slow and memory-intensive when U and X are
    very tall matrices.
    
    Replacing it with the equivalent X - U*(U'*X) in two places.
    perrutquist committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    ba89901 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea25c11 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Rewriting rev_svd to (hopefully) be faster

    This uses fewer matrix multiplications.
    
    The code no longer uses the helper function _mulsubtrans!!
    so it has been removed.
    perrutquist committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    f288c7a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef235e1 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Configuration menu
    Copy the full SHA
    225dd72 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Adding a specialized method of svd_rev where only s-bar is nonzero.

    The general-case method also works in this case, but is slightly slower because it creates a dense matrix M even though only the diagonal entries are nonzero.
    perrutquist committed May 15, 2024
    Configuration menu
    Copy the full SHA
    231ac1a View commit details
    Browse the repository at this point in the history