\section{Random\+Initialization Class Reference}
\label{classmlpack_1_1perceptron_1_1RandomInitialization}\index{Random\+Initialization@{Random\+Initialization}}


This class is used to initialize weights for the weight\+Vectors matrix in a random manner.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ Random\+Initialization} ()
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \textbf{ Initialize} (arma\+::mat \&weights, arma\+::vec \&biases, const size\+\_\+t num\+Features, const size\+\_\+t num\+Classes)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class is used to initialize weights for the weight\+Vectors matrix in a random manner. 

Definition at line 24 of file random\+\_\+init.\+hpp.



\subsection{Constructor \& Destructor Documentation}
\mbox{\label{classmlpack_1_1perceptron_1_1RandomInitialization_a82f2c9d150d42175823128808690c25a}} 
\index{mlpack\+::perceptron\+::\+Random\+Initialization@{mlpack\+::perceptron\+::\+Random\+Initialization}!Random\+Initialization@{Random\+Initialization}}
\index{Random\+Initialization@{Random\+Initialization}!mlpack\+::perceptron\+::\+Random\+Initialization@{mlpack\+::perceptron\+::\+Random\+Initialization}}
\subsubsection{Random\+Initialization()}
{\footnotesize\ttfamily \textbf{ Random\+Initialization} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Definition at line 27 of file random\+\_\+init.\+hpp.



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1perceptron_1_1RandomInitialization_ae4285f008adf2a80d33e3fa1570d86d5}} 
\index{mlpack\+::perceptron\+::\+Random\+Initialization@{mlpack\+::perceptron\+::\+Random\+Initialization}!Initialize@{Initialize}}
\index{Initialize@{Initialize}!mlpack\+::perceptron\+::\+Random\+Initialization@{mlpack\+::perceptron\+::\+Random\+Initialization}}
\subsubsection{Initialize()}
{\footnotesize\ttfamily static void Initialize (\begin{DoxyParamCaption}\item[{arma\+::mat \&}]{weights,  }\item[{arma\+::vec \&}]{biases,  }\item[{const size\+\_\+t}]{num\+Features,  }\item[{const size\+\_\+t}]{num\+Classes }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Definition at line 29 of file random\+\_\+init.\+hpp.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+1/src/mlpack/methods/perceptron/initialization\+\_\+methods/\textbf{ random\+\_\+init.\+hpp}\end{DoxyCompactItemize}
