<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'>&gt; +  QUICSVDPolicy(const double epsilon = 0.03, const double delta = 0.1) :
&gt; +       epsilon(epsilon),
&gt; +       delta(delta)
&gt; +  {
&gt; +    /* Nothing to do here */
&gt; +  }
&gt; +
&gt; +  /**
&gt; +   * Apply Principal Component Analysis to the provided data set using the
&gt; +   * QUIC-SVD method.
&gt; +   *
&gt; +   * @param data Data matrix.
&gt; +   * @param data Centered data matrix.
&gt; +   * @param transformedData Matrix to put results of PCA into.
&gt; +   * @param eigVal Vector to put eigenvalues into.
&gt; +   * @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&amp; data,
             arma::mat&amp; transformedData,
             arma::vec&amp; eigval,
arma::mat&amp; 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&lt;typename DecompositionPolicy&gt;
void PCA&lt;DecompositionPolicy&gt;::Apply(const arma::mat&amp; data,
                arma::mat&amp; transformedData,
                arma::vec&amp; eigVal,
arma::mat&amp; coeff)
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<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>