Non-negative matrix factorizations¶
A rank-k non-negative matrix factorization of an \(m \times n\) matrix \(A\) with all non-negative entries is a solution to the problem
\[\min_{X,Y} \| A - X Y \|_F, \text{ such that } X,Y \ge 0\]
where \(X\) is \(m \times k\) and \(Y\) is \(k \times n\).
The following routines employ alternating non-negative least squares algorithms.
C++ API¶
-
void
NMF
(const AbstractDistMatrix<Real> &A, AbstractDistMatrix<Real> &X, AbstractDistMatrix<Real> &Y)¶