Merge pull request #3080 from SuvarshaChennareddy/fixing-comment
Fix comments in files that implement SVD methods for PCA
This commit is contained in:
@@ -145,6 +145,7 @@ Copyright:
|
||||
Copyright 2021, Mark Fischinger <markfischinger@gmail.com>
|
||||
Copyright 2021, Muhammad Fawwaz Mayda <maydafawwaz@gmail.com>
|
||||
Copyright 2021, Roshan Nrusing Swain <swainroshan001@gmail.com>
|
||||
Copyright 2021, Suvarsha Chennareddy <suvarshachennareddy@gmail.com>
|
||||
|
||||
License: BSD-3-clause
|
||||
All rights reserved.
|
||||
|
||||
@@ -45,7 +45,7 @@ class ExactSVDPolicy
|
||||
arma::mat& eigvec,
|
||||
const size_t /* rank */)
|
||||
{
|
||||
// This matrix will store the right singular values; we do not need them.
|
||||
// This matrix will store the right singular vectors; we do not need them.
|
||||
arma::mat v;
|
||||
|
||||
// Do singular value decomposition. Use the economical singular value
|
||||
|
||||
@@ -57,7 +57,7 @@ class QUICSVDPolicy
|
||||
arma::mat& eigvec,
|
||||
const size_t /* rank */)
|
||||
{
|
||||
// This matrix will store the right singular values; we do not need them.
|
||||
// This matrix will store the right singular vectors; we do not need them.
|
||||
arma::mat v, sigma;
|
||||
|
||||
// Do singular value decomposition using the QUIC-SVD algorithm.
|
||||
|
||||
@@ -60,7 +60,7 @@ class RandomizedBlockKrylovSVDPolicy
|
||||
arma::mat& eigvec,
|
||||
const size_t rank)
|
||||
{
|
||||
// This matrix will store the right singular values; we do not need them.
|
||||
// This matrix will store the right singular vectors; we do not need them.
|
||||
arma::mat v;
|
||||
|
||||
// Do singular value decomposition using the randomized block krylov SVD
|
||||
|
||||
@@ -61,7 +61,7 @@ class RandomizedSVDPolicy
|
||||
arma::mat& eigvec,
|
||||
const size_t rank)
|
||||
{
|
||||
// This matrix will store the right singular values; we do not need them.
|
||||
// This matrix will store the right singular vectors; we do not need them.
|
||||
arma::mat v;
|
||||
|
||||
// Do singular value decomposition using the randomized SVD algorithm.
|
||||
|
||||
Reference in New Issue
Block a user