27 #ifndef __MLPACK_METHODS_NMF_MULT_DIST_UPDATE_RULES_HPP
28 #define __MLPACK_METHODS_NMF_MULT_DIST_UPDATE_RULES_HPP
55 template<
typename MatType>
56 inline static void Update(
const MatType& V,
60 W = (W % (V * H.t())) / (W * H * H.t());
84 template<
typename MatType>
85 inline static void Update(
const MatType& V,
89 H = (H % (W.t() * V)) / (W.t() * W * H);
static void Update(const MatType &V, const arma::mat &W, arma::mat &H)
The update function that actually updates the H matrix.
static void Update(const MatType &V, arma::mat &W, const arma::mat &H)
The update function that actually updates the W matrix.
WMultiplicativeDistanceRule()
The update rule for the encoding matrix H.
HMultiplicativeDistanceRule()
The update rule for the basis matrix W.