\section{/var/www/mlpack.ratml.\+org/mlpack.org/\+\_\+src/mlpack-\/git/src/mlpack/tests/mock\+\_\+categorical\+\_\+data.hpp File Reference}
\label{mock__categorical__data_8hpp}\index{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/git/src/mlpack/tests/mock\+\_\+categorical\+\_\+data.\+hpp@{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/git/src/mlpack/tests/mock\+\_\+categorical\+\_\+data.\+hpp}}


Generate categorical dataset for tests.  


Include dependency graph for mock\+\_\+categorical\+\_\+data.\+hpp\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{mock__categorical__data_8hpp__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ Mock\+Categorical\+Data} (arma\+::mat \&d, arma\+::\+Row$<$ size\+\_\+t $>$ \&l, \textbf{ mlpack\+::data\+::\+Dataset\+Info} \&dataset\+Info)
\begin{DoxyCompactList}\small\item\em Create a mock categorical dataset for testing. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Generate categorical dataset for tests. 

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-\/clause B\+SD license. You should have received a copy of the 3-\/clause B\+SD license along with mlpack. If not, see {\tt http\+://www.\+opensource.\+org/licenses/\+B\+S\+D-\/3-\/\+Clause} for more information. 

\subsection{Function Documentation}
\mbox{\label{mock__categorical__data_8hpp_a93686590f9141a5c16d2cb8ff0eadde6}} 
\index{mock\+\_\+categorical\+\_\+data.\+hpp@{mock\+\_\+categorical\+\_\+data.\+hpp}!Mock\+Categorical\+Data@{Mock\+Categorical\+Data}}
\index{Mock\+Categorical\+Data@{Mock\+Categorical\+Data}!mock\+\_\+categorical\+\_\+data.\+hpp@{mock\+\_\+categorical\+\_\+data.\+hpp}}
\subsubsection{Mock\+Categorical\+Data()}
{\footnotesize\ttfamily void Mock\+Categorical\+Data (\begin{DoxyParamCaption}\item[{arma\+::mat \&}]{d,  }\item[{arma\+::\+Row$<$ size\+\_\+t $>$ \&}]{l,  }\item[{\textbf{ mlpack\+::data\+::\+Dataset\+Info} \&}]{dataset\+Info }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Create a mock categorical dataset for testing. 



Definition at line 20 of file mock\+\_\+categorical\+\_\+data.\+hpp.



References mlpack\+::data\+::categorical, M\+\_\+\+PI, Dataset\+Mapper$<$ Policy\+Type, Input\+Type $>$\+::\+Map\+String(), mlpack\+::math\+::\+Random(), Discrete\+Distribution\+::\+Random(), and Dataset\+Mapper$<$ Policy\+Type, Input\+Type $>$\+::\+Type().

