.TH "mlpack::sparse_coding::RandomInitializer" 3 "Tue Sep 9 2014" "Version 1.0.10" "MLPACK" \" -*- nroff -*- .ad l .nh .SH NAME mlpack::sparse_coding::RandomInitializer \- .PP A DictionaryInitializer for use with the \fBSparseCoding\fP class\&. .SH SYNOPSIS .br .PP .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static void \fBInitialize\fP (const arma::mat &data, const size_t atoms, arma::mat &dictionary)" .br .RI "\fIInitialize the dictionary randomly from a normal distribution, such that each atom has a norm of 1\&. \fP" .in -1c .SH "Detailed Description" .PP A DictionaryInitializer for use with the \fBSparseCoding\fP class\&. This provides a random, normally distributed dictionary, such that each atom has a norm of 1\&. .PP Definition at line 35 of file random_initializer\&.hpp\&. .SH "Member Function Documentation" .PP .SS "static void mlpack::sparse_coding::RandomInitializer::Initialize (const arma::mat &data, const size_tatoms, arma::mat &dictionary)\fC [inline]\fP, \fC [static]\fP" .PP Initialize the dictionary randomly from a normal distribution, such that each atom has a norm of 1\&. This is simple enough to be included with the definition\&. .PP \fBParameters:\fP .RS 4 \fIdata\fP Dataset to use for initialization\&. .br \fIatoms\fP Number of atoms (columns) in the dictionary\&. .br \fIdictionary\fP Dictionary to initialize\&. .RE .PP .PP Definition at line 47 of file random_initializer\&.hpp\&. .SH "Author" .PP Generated automatically by Doxygen for MLPACK from the source code\&.