mlpack
1.0.12
|
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 29 of file average_init.hpp.
|
inline |
Definition at line 33 of file average_init.hpp.
|
inlinestatic |
Definition at line 36 of file average_init.hpp.