Merge pull request #3080 from SuvarshaChennareddy/fixing-comment

Fix comments in files that implement SVD methods for PCA
This commit is contained in:
Ryan Curtin
2021-11-01 18:59:21 -04:00
committed by GitHub
5 changed files with 5 additions and 4 deletions
+1
View File
@@ -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.