<p>In <a href="https://github.com/mlpack/mlpack/pull/374#discussion-diff-22828398">src/mlpack/methods/matrix_completion/matrix_completion.hpp</a>:</p>
<pre style='color:#555'>> + * Construct a matrix completion problem, specifying the maximum rank of the
> + * solution.
> + *
> + * @param m Number of rows of original matrix.
> + * @param n Number of columns of original matrix.
> + * @param indices Matrix containing the indices of the known entries (must be
> + * [2 x p]).
> + * @param values Vector containing the values of the known entries (must be
> + * length p).
> + * @param r Maximum rank of solution.
> + */
> + MatrixCompletion(const size_t m,
> + const size_t n,
> + const arma::umat& indices,
> + const arma::vec& values,
> + const size_t r);
</pre>
<p>I think the resolution of <a href="https://github.com/mlpack/mlpack/issues/379" class="issue-link" title="CF cannot properly handle 0s in the input matrix">#379</a> will eventually sort this out; I agree that for now we should leave it as-is.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/pull/374/files#r22828398">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFHPKfzaxB_1MGsuCecBOQ91zho9Kks5nhEIlgaJpZM4DOLPX.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/374/files#r22828398"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>