mlpack::nmf::HMultiplicativeDistanceRule Class Reference

The update rule for the encoding matrix H. More...

List of all members.

Public Member Functions

 HMultiplicativeDistanceRule ()

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.

Detailed Description

The update rule for the encoding matrix H.

The formula used is

\[ H_{a\mu} \leftarrow H_{a\mu} \frac{(W^T V)_{a\mu}}{(W^T WH)_{a\mu}} \]

Definition at line 70 of file mult_dist_update_rules.hpp.


Constructor & Destructor Documentation

mlpack::nmf::HMultiplicativeDistanceRule::HMultiplicativeDistanceRule (  )  [inline]

Definition at line 74 of file mult_dist_update_rules.hpp.


Member Function Documentation

template<typename MatType >
static void mlpack::nmf::HMultiplicativeDistanceRule::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.

Parameters:
V Input matrix to be factorized.
W Basis matrix.
H Encoding matrix to be updated.

Definition at line 85 of file mult_dist_update_rules.hpp.


The documentation for this class was generated from the following file:

Generated on 13 Aug 2014 for MLPACK by  doxygen 1.6.1