\hypertarget{classjymlp_1_1MlpFactory}{
\section{jymlp::MlpFactory Class Reference}
\label{classjymlp_1_1MlpFactory}\index{jymlp::MlpFactory@{jymlp::MlpFactory}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classjymlp_1_1MlpFactory_a99d18a9baacd3cd73fa4ed39a8769fd1}{MlpFactory} (istream \&definition)
\begin{DoxyCompactList}\small\item\em Construct using a definition text stream. \item\end{DoxyCompactList}\item 
\hyperlink{classjymlp_1_1Mlp}{Mlp} $\ast$ \hyperlink{classjymlp_1_1MlpFactory_a57c6bbaf7faffa4b0c8924f92679706a}{create} (mt19937 $\ast$prgen)
\begin{DoxyCompactList}\small\item\em Return a raw ptr to a new \hyperlink{classjymlp_1_1Mlp}{Mlp} object; use the given rnd generator. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classjymlp_1_1MlpFactory_ae0405e2e1bc1ebd494ccd5c44bdd2a8d}{
vector$<$ size\_\-t $>$ {\bfseries ininneur}}
\label{classjymlp_1_1MlpFactory_ae0405e2e1bc1ebd494ccd5c44bdd2a8d}

\item 
\hypertarget{classjymlp_1_1MlpFactory_ad38d273516e7377437e809f2532be549}{
vector$<$ ActF $>$ {\bfseries iniactf}}
\label{classjymlp_1_1MlpFactory_ad38d273516e7377437e809f2532be549}

\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classjymlp_1_1MlpFactory_a99d18a9baacd3cd73fa4ed39a8769fd1}{
\index{jymlp::MlpFactory@{jymlp::MlpFactory}!MlpFactory@{MlpFactory}}
\index{MlpFactory@{MlpFactory}!jymlp::MlpFactory@{jymlp::MlpFactory}}
\subsubsection[{MlpFactory}]{\setlength{\rightskip}{0pt plus 5cm}MlpFactory::MlpFactory (istream \& {\em definition})}}
\label{classjymlp_1_1MlpFactory_a99d18a9baacd3cd73fa4ed39a8769fd1}


Construct using a definition text stream. Format is according to the following example:

init\_\-size: 2-\/4-\/5-\/2 init\_\-actf: in-\/tanh-\/tanh-\/lin init\_\-weights: uniform(-\/1,1)

One definition on each line. Obvious modifications are possible. Default is tanh on hidden layer and linear activation on output layer. Default initialization is uniform(-\/1,1). Number of neurons must always be given. 

\subsection{Member Function Documentation}
\hypertarget{classjymlp_1_1MlpFactory_a57c6bbaf7faffa4b0c8924f92679706a}{
\index{jymlp::MlpFactory@{jymlp::MlpFactory}!create@{create}}
\index{create@{create}!jymlp::MlpFactory@{jymlp::MlpFactory}}
\subsubsection[{create}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Mlp} $\ast$ MlpFactory::create (mt19937 $\ast$ {\em prgen})}}
\label{classjymlp_1_1MlpFactory_a57c6bbaf7faffa4b0c8924f92679706a}


Return a raw ptr to a new \hyperlink{classjymlp_1_1Mlp}{Mlp} object; use the given rnd generator. 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
src/\hyperlink{MlpFactory_8hpp}{MlpFactory.hpp}\item 
src/MlpFactory.cpp\end{DoxyCompactItemize}
