![]() |
planc
Parallel Lowrank Approximation with Non-negativity Constraints
|
#include <nmf.hpp>
Public Member Functions | |
NMF (const T &input, const unsigned int rank) | |
Constructors with an input matrix and low rank. More... | |
NMF (const T &input, const MAT &leftlowrankfactor, const MAT &rightlowrankfactor) | |
Constructor with initial left and right low rank factors Necessary when you want to compare algorithms starting with the same initialization. More... | |
virtual void | computeNMF ()=0 |
MAT | getLeftLowRankFactor () |
Returns the left low rank factor matrix W. More... | |
MAT | getRightLowRankFactor () |
Returns the right low rank factor matrix H. More... | |
void | computeObjectiveError () |
void | computeObjectiveError (const T &At, const MAT &WtW, const MAT &HtH) |
void | num_iterations (const int it) |
Sets number of iterations for the NMF algorithms. More... | |
void | regW (const FVEC &iregW) |
Sets the regularization on left low rank factor W. More... | |
void | regH (const FVEC &iregH) |
Sets the regularization on right low rank H. More... | |
FVEC | regW () |
Returns the L2 and L1 regularization parameters of W as a vector. More... | |
FVEC | regH () |
Returns the L2 and L1 regularization parameters of W as a vector. More... | |
const unsigned int | num_iterations () const |
Returns the number of iterations. More... | |
~NMF () | |
void | clear () |
Clear the memory for input matrix A, right low rank factor W and left low rank factor H. More... | |
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Implemented in planc::DistAUNMF< INPUTMATTYPE >, planc::BPPNMF< T >, planc::AOADMMNMF< T >, planc::HALSNMF< T >, and planc::MUNMF< T >.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |