Github user iyounus commented on the pull request:

    https://github.com/apache/spark/pull/11610#issuecomment-196960794
  
    I'm a bit confused about the use of DGELSD. As far as I can tell, it 
requires matrix A itself. But in the current implementation, we're decomposing 
A^T.A on the driver.
    
    To find the inverse of A^T.A, I only need the matrix V and singular values 
from SVD decomposition: A^T.A = V \Sigma^2 V^T. I can construct this using 
eigenvalues and eigenvectors of A^T.A which I can do on the driver. Then, 
finding the inverse is trivial. Is this what we're actually trying to do?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to