.TH "mlpack::amf::RandomAcolInitialization< p >" 3 "Tue Sep 9 2014" "Version 1.0.10" "MLPACK" \" -*- nroff -*- .ad l .nh .SH NAME mlpack::amf::RandomAcolInitialization< p > \- .PP This class initializes the W matrix of the NMF algorithm by averaging p randomly chosen columns of V\&. .SH SYNOPSIS .br .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBRandomAcolInitialization\fP ()" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "template static void \fBInitialize\fP (const MatType &V, const size_t r, arma::mat &W, arma::mat &H)" .br .in -1c .SH "Detailed Description" .PP .SS "templateclass mlpack::amf::RandomAcolInitialization< p >" This class initializes the W matrix of the NMF algorithm by averaging p randomly chosen columns of V\&. In this case, p is a template parameter\&. H is then set randomly\&. .PP \fBTemplate Parameters:\fP .RS 4 \fIThe\fP number of random columns to average for each column of W\&. .RE .PP .PP Definition at line 42 of file random_acol_init\&.hpp\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fBmlpack::amf::RandomAcolInitialization\fP< p >::\fBRandomAcolInitialization\fP ()\fC [inline]\fP" .PP Definition at line 46 of file random_acol_init\&.hpp\&. .SH "Member Function Documentation" .PP .SS "template template static void \fBmlpack::amf::RandomAcolInitialization\fP< p >::Initialize (const MatType &V, const size_tr, arma::mat &W, arma::mat &H)\fC [inline]\fP, \fC [static]\fP" .PP Definition at line 50 of file random_acol_init\&.hpp\&. .PP References mlpack::math::RandInt(), and mlpack::Log::Warn\&. .SH "Author" .PP Generated automatically by Doxygen for MLPACK from the source code\&.