MLPACK
1.0.11
|
This initialization rule initializes matrix W and H to root of average of V with uniform noise. More...
Public Member Functions | |
AverageInitialization () | |
Static Public Member Functions | |
template<typename MatType > | |
static void | Initialize (const MatType &V, const size_t r, arma::mat &W, arma::mat &H) |
This initialization rule initializes matrix W and H to root of average of V with uniform noise.
Uniform noise is generated by Armadillo's 'randu' function. To have a better effect lower bound of the matrix is subtracted from average before dividing it by the factorization rank. This computed value is added with the random noise.
Definition at line 37 of file average_init.hpp.
|
inline |
Definition at line 41 of file average_init.hpp.
|
inlinestatic |
Definition at line 44 of file average_init.hpp.