MLPACK  1.0.4
Public Member Functions | Static Public Member Functions
mlpack::nmf::HMultiplicativeDivergenceRule Class Reference

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

List of all members.

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.

Detailed Description

The update rule for the encoding matrix H.

The formula used is

\[ H_{a\mu} \leftarrow H_{a\mu} \frac{\sum_{i} W_{ia} V_{i\mu}/(WH)_{i\mu}} {\sum_{k} H_{ka}} \]

Definition at line 84 of file mult_div_update_rules.hpp.


Constructor & Destructor Documentation

Definition at line 88 of file mult_div_update_rules.hpp.


Member Function Documentation

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.

Parameters:
VInput matrix to be factorized.
WBasis matrix.
HEncoding matrix to updated.

Definition at line 98 of file mult_div_update_rules.hpp.


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