The update rule for the encoding matrix H. More...
Public Member Functions | |
HMultiplicativeDivergenceRule () | |
Static Public Member Functions | |
template<typename MatType > | |
static void | Update (const MatType &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 94 of file mult_div_update_rules.hpp.
mlpack::nmf::HMultiplicativeDivergenceRule::HMultiplicativeDivergenceRule | ( | ) | [inline] |
Definition at line 98 of file mult_div_update_rules.hpp.
static void mlpack::nmf::HMultiplicativeDivergenceRule::Update | ( | const MatType & | 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 109 of file mult_div_update_rules.hpp.