.TH "mlpack::amf::NMFMultiplicativeDivergenceUpdate" 3 "Tue Sep 9 2014" "Version 1.0.10" "MLPACK" \" -*- nroff -*- .ad l .nh .SH NAME mlpack::amf::NMFMultiplicativeDivergenceUpdate \- .SH SYNOPSIS .br .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBNMFMultiplicativeDivergenceUpdate\fP ()" .br .ti -1c .RI "template void \fBInitialize\fP (const MatType &dataset, const size_t rank)" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "template static void \fBHUpdate\fP (const MatType &V, const arma::mat &W, arma::mat &H)" .br .RI "\fIThe update rule for the encoding matrix H\&. \fP" .ti -1c .RI "template static void \fBWUpdate\fP (const MatType &V, arma::mat &W, const arma::mat &H)" .br .RI "\fIThe update rule for the basis matrix W\&. \fP" .in -1c .SH "Detailed Description" .PP Definition at line 40 of file nmf_mult_div\&.hpp\&. .SH "Constructor & Destructor Documentation" .PP .SS "mlpack::amf::NMFMultiplicativeDivergenceUpdate::NMFMultiplicativeDivergenceUpdate ()\fC [inline]\fP" .PP Definition at line 44 of file nmf_mult_div\&.hpp\&. .SH "Member Function Documentation" .PP .SS "template static void mlpack::amf::NMFMultiplicativeDivergenceUpdate::HUpdate (const MatType &V, const arma::mat &W, arma::mat &H)\fC [inline]\fP, \fC [static]\fP" .PP 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}} \] The function takes in all the matrices and only changes the value of the H matrix\&. .PP \fBParameters:\fP .RS 4 \fIV\fP Input matrix to be factorized\&. .br \fIW\fP Basis matrix\&. .br \fIH\fP Encoding matrix to updated\&. .RE .PP .PP Definition at line 109 of file nmf_mult_div\&.hpp\&. .SS "template void mlpack::amf::NMFMultiplicativeDivergenceUpdate::Initialize (const MatType &dataset, const size_trank)\fC [inline]\fP" .PP Definition at line 47 of file nmf_mult_div\&.hpp\&. .SS "template static void mlpack::amf::NMFMultiplicativeDivergenceUpdate::WUpdate (const MatType &V, arma::mat &W, const arma::mat &H)\fC [inline]\fP, \fC [static]\fP" .PP The update rule for the basis matrix W\&. The formula used is \[ W_{ia} \leftarrow W_{ia} \frac{\sum_{\mu} H_{a\mu} V_{i\mu}/(WH)_{i\mu}} {\sum_{\nu} H_{a\nu}} \] The function takes in all the matrices and only changes the value of the W matrix\&. .PP \fBParameters:\fP .RS 4 \fIV\fP Input matrix to be factorized\&. .br \fIW\fP Basis matrix to be updated\&. .br \fIH\fP Encoding matrix\&. .RE .PP .PP Definition at line 67 of file nmf_mult_div\&.hpp\&. .SH "Author" .PP Generated automatically by Doxygen for MLPACK from the source code\&.