MLPACK
1.0.4
|
The update rule for the encoding matrix H. More...
Public Member Functions | |
HMultiplicativeDivergenceRule () | |
Static Public Member Functions | |
static void | Update (const arma::mat &V, const arma::mat &W, arma::mat &H) |
The update function that actually updates the H matrix. |
The update rule for the encoding matrix H.
The formula used is
Definition at line 84 of file mult_div_update_rules.hpp.
Definition at line 88 of file mult_div_update_rules.hpp.
static void mlpack::nmf::HMultiplicativeDivergenceRule::Update | ( | const arma::mat & | V, |
const arma::mat & | W, | ||
arma::mat & | H | ||
) | [inline, static] |
The update function that actually updates the H matrix.
The function takes in all the matrices and only changes the value of the H matrix.
V | Input matrix to be factorized. |
W | Basis matrix. |
H | Encoding matrix to updated. |
Definition at line 98 of file mult_div_update_rules.hpp.