Reference

mlpack_amf_NMFMultiplicativeDivergenceUpdate(3)

NAME

mlpack::amf::NMFMultiplicativeDivergenceUpdate -

SYNOPSIS

Public Member Functions

NMFMultiplicativeDivergenceUpdate ()
template<typename MatType > void Initialize (const MatType &dataset, const size_t rank)

Static Public Member Functions

template<typename MatType > static void HUpdate (const MatType &V, const arma::mat &W, arma::mat &H)
The update rule for the encoding matrix H. template<typename MatType > static void WUpdate (const MatType &V, arma::mat &W, const arma::mat &H)
The update rule for the basis matrix W.

Detailed Description

Definition at line 40 of file nmf_mult_div.hpp.

Constructor & Destructor Documentation

mlpack::amf::NMFMultiplicativeDivergenceUpdate::NMFMultiplicativeDivergenceUpdate () [inline]

Definition at line 44 of file nmf_mult_div.hpp.

Member Function Documentation

template<typename MatType > static void mlpack::amf::NMFMultiplicativeDivergenceUpdate::HUpdate (const MatType &V, const arma::mat &W, arma::mat &H) [inline], [static]

The update rule for the encoding matrix H. The formula used is 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 updated.

Definition at line 109 of file nmf_mult_div.hpp.

template<typename MatType > void mlpack::amf::NMFMultiplicativeDivergenceUpdate::Initialize (const MatType &dataset, const size_trank) [inline]

Definition at line 47 of file nmf_mult_div.hpp.

template<typename MatType > static void mlpack::amf::NMFMultiplicativeDivergenceUpdate::WUpdate (const MatType &V, arma::mat &W, const arma::mat &H) [inline], [static]

The update rule for the basis matrix W. The formula used is The function takes in all the matrices and only changes the value of the W matrix.

Parameters:

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

Definition at line 67 of file nmf_mult_div.hpp.

Author

Generated automatically by Doxygen for MLPACK from the source code.