This initialization rule for AMF simply fills the W and H matrices with uniform random noise in [0, 1]. More...
Public Member Functions  
RandomInitialization ()  
template < typename Archive >  
void  serialize (Archive &, const unsigned int) 
Serialize the object (in this case, there is nothing to serialize). More...  
Static Public Member Functions  
template < typename MatType >  
static void  Initialize (const MatType &V, const size_t r, arma::mat &W, arma::mat &H) 
Fill W and H with random uniform noise. More...  
This initialization rule for AMF simply fills the W and H matrices with uniform random noise in [0, 1].
Definition at line 25 of file random_init.hpp.

inline 
Definition at line 29 of file random_init.hpp.

inlinestatic 
Fill W and H with random uniform noise.
V  Input matrix. 
r  Rank of decomposition. 
W  W matrix, to be filled with random noise. 
H  H matrix, to be filled with random noise. 
Definition at line 40 of file random_init.hpp.

inline 
Serialize the object (in this case, there is nothing to serialize).
Definition at line 56 of file random_init.hpp.