MLPACK
1.0.4
|
The update rule for the basis matrix W. More...
Public Member Functions | |
WMultiplicativeDistanceRule () | |
Static Public Member Functions | |
static void | Update (const arma::mat &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 41 of file mult_dist_update_rules.hpp.
Definition at line 45 of file mult_dist_update_rules.hpp.
static void mlpack::nmf::WMultiplicativeDistanceRule::Update | ( | const arma::mat & | 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 56 of file mult_dist_update_rules.hpp.