The update rule for the basis matrix W. More...
Public Member Functions | |
| WMultiplicativeDivergenceRule () | |
Static Public Member Functions | |
| template<typename MatType > | |
| static void | Update (const MatType &V, arma::mat &W, const arma::mat &H) |
| The update function that actually updates the W matrix. | |
The update rule for the basis matrix W.
The formula used is
Definition at line 43 of file mult_div_update_rules.hpp.
| mlpack::nmf::WMultiplicativeDivergenceRule::WMultiplicativeDivergenceRule | ( | ) | [inline] |
Definition at line 47 of file mult_div_update_rules.hpp.
| static void mlpack::nmf::WMultiplicativeDivergenceRule::Update | ( | const MatType & | V, | |
| arma::mat & | W, | |||
| const arma::mat & | H | |||
| ) | [inline, static] |
The update function that actually updates the W matrix.
The function takes in all the matrices and only changes the value of the W matrix.
| V | Input matrix to be factorized. | |
| W | Basis matrix to be updated. | |
| H | Encoding matrix. |
Definition at line 58 of file mult_div_update_rules.hpp.
1.6.1