<p>In <a href="https://github.com/mlpack/mlpack/pull/716#discussion_r69561519">src/mlpack/methods/pca/decomposition_policies/quic_svd_method.hpp</a>:</p>
<pre style='color:#555'>> + QUICSVDPolicy(const double epsilon = 0.03, const double delta = 0.1) :
> + epsilon(epsilon),
> + delta(delta)
> + {
> + /* Nothing to do here */
> + }
> +
> + /**
> + * Apply Principal Component Analysis to the provided data set using the
> + * QUIC-SVD method.
> + *
> + * @param data Data matrix.
> + * @param data Centered data matrix.
> + * @param transformedData Matrix to put results of PCA into.
> + * @param eigVal Vector to put eigenvalues into.
> + * @param eigvec Matrix to put eigenvectors (loadings) into.
</pre>
<p>The parameter name are different, one called eigvec, and another called coeff.<br>
Besides, The Apply function of PCA, the comments are written for the same functions and different with each other.</p>
<p>pca.hpp</p>
<pre><code> /**
* Apply Principal Component Analysis to the provided data set. It is safe to
* pass the same matrix reference for both data and transformedData.
*
* @param data Data matrix.
* @param transformedData Matrix to put results of PCA into.
* @param eigval Vector to put eigenvalues into.
* @param eigvec Matrix to put eigenvectors (loadings) into.
*/
void Apply(const arma::mat& data,
arma::mat& transformedData,
arma::vec& eigval,
arma::mat& eigvec);
</code></pre>
<p>pca_impl.hpp</p>
<pre><code>/**
* Apply Principal Component Analysis to the provided data set.
*
* @param data - Data matrix
* @param transformedData - Data with PCA applied
* @param eigVal - contains eigen values in a column vector
* @param coeff - PCA Loadings/Coeffs/EigenVectors
*/
template<typename DecompositionPolicy>
void PCA<DecompositionPolicy>::Apply(const arma::mat& data,
arma::mat& transformedData,
arma::vec& eigVal,
arma::mat& coeff)
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/716/files/1d675d4febd84d3210a10c6cc18efa1bb1558045#r69561519">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFKaUGcdnDurg_dqyuIWjMmYCX-0Qks5qSlsDgaJpZM4JEUwr">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFGHD1oJgAUPRFXKA3UjS4s4fpnVOks5qSlsDgaJpZM4JEUwr.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/pull/716/files/1d675d4febd84d3210a10c6cc18efa1bb1558045#r69561519"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>