fix bksvd method
This commit is contained in:
@@ -76,9 +76,9 @@ class BlockKrylovSVDPolicy
|
||||
// Do singular value decomposition using the block krylov SVD algorithm.
|
||||
RandomizedBlockKrylovSVD blockkrylovsvd;
|
||||
blockkrylovsvd.Apply(data, w, sigma, h, rank);
|
||||
|
||||
|
||||
// Sigma matrix is multiplied to w.
|
||||
w = w * sigma;
|
||||
w = w * arma::diagmat(sigma);
|
||||
|
||||
// Take transpose of the matrix h as required by CF class.
|
||||
h = arma::trans(h);
|
||||
|
||||
Reference in New Issue
Block a user