![]() |
planc
Parallel Lowrank Approximation with Non-negativity Constraints
|
#include <distnmf.hpp>
Public Member Functions | |
| DistNMF (const INPUTMATTYPE &input, const MAT &leftlowrankfactor, const MAT &rightlowrankfactor, const MPICommunicator &communicator) | |
| There are totally prxpc process. More... | |
| const int | globalm () const |
| returns globalm More... | |
| const int | globaln () const |
| returns globaln More... | |
| const double | globalsqnorma () const |
| returns global squared norm of A More... | |
| void | compute_error (const uint &ce) |
| return the current error More... | |
| const bool | is_compute_error () const |
| returns the flag to compute error or not. More... | |
| void | algorithm (algotype dat) |
| returns the NMF algorithm More... | |
| void | reportTime (const double temp, const std::string &reportstring) |
| Reports the time. More... | |
| void | normalize_by_W () |
| Column Normalizes the distributed W matrix. 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 INPUTMATTYPE &At, const MAT &WtW, const MAT &HtH) |
| void | num_iterations (const int it) |
| Sets number of iterations for the NMF algorithms. More... | |
| const unsigned int | num_iterations () const |
| Returns the number of iterations. More... | |
| void | regW (const FVEC &iregW) |
| Sets the regularization on left low rank factor W. More... | |
| FVEC | regW () |
| Returns the L2 and L1 regularization parameters of W as a vector. More... | |
| void | regH (const FVEC &iregH) |
| Sets the regularization on right low rank H. More... | |
| FVEC | regH () |
| Returns the L2 and L1 regularization parameters of W as a vector. More... | |
| void | clear () |
| Clear the memory for input matrix A, right low rank factor W and left low rank factor H. More... | |
Definition at line 16 of file distnmf.hpp.
|
inline |
There are totally prxpc process.
Each process will hold the following
| [in] | A | of size |
| [in] | right | low rank factor H of size |
| [in] | left | low rank factor W of size |
| [in] | MPI | Communicator for row and column communicators |
Definition at line 43 of file distnmf.hpp.
|
inline |
returns the NMF algorithm
Definition at line 94 of file distnmf.hpp.
|
inlineinherited |
|
inline |
return the current error
Definition at line 90 of file distnmf.hpp.
|
pure virtualinherited |
Implemented in planc::DistAUNMF< INPUTMATTYPE >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
returns globalm
Definition at line 84 of file distnmf.hpp.
|
inline |
returns globaln
Definition at line 86 of file distnmf.hpp.
|
inline |
returns global squared norm of A
Definition at line 88 of file distnmf.hpp.
|
inline |
returns the flag to compute error or not.
Definition at line 92 of file distnmf.hpp.
|
inline |
Column Normalizes the distributed W matrix.
Definition at line 110 of file distnmf.hpp.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Reports the time.
Definition at line 96 of file distnmf.hpp.
1.8.14