\section{/var/www/mlpack.ratml.\+org/mlpack.org/\+\_\+src/mlpack-\/git/src/mlpack/tests/test\+\_\+function\+\_\+tools.hpp File Reference}
\label{test__function__tools_8hpp}\index{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/git/src/mlpack/tests/test\+\_\+function\+\_\+tools.\+hpp@{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/git/src/mlpack/tests/test\+\_\+function\+\_\+tools.\+hpp}}
Include dependency graph for test\+\_\+function\+\_\+tools.\+hpp\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{test__function__tools_8hpp__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ Logistic\+Regression\+Test\+Data} (arma\+::mat \&data, arma\+::mat \&test\+Data, arma\+::mat \&shuffled\+Data, arma\+::\+Row$<$ size\+\_\+t $>$ \&responses, arma\+::\+Row$<$ size\+\_\+t $>$ \&test\+Responses, arma\+::\+Row$<$ size\+\_\+t $>$ \&shuffled\+Responses)
\begin{DoxyCompactList}\small\item\em Create the data for the a logistic regression test. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Marcus Edel
\end{DoxyAuthor}
This file provides some useful test function methods.

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{test__function__tools_8hpp_a4fca855ff4c9772ee30ed0a171812953}} 
\index{test\+\_\+function\+\_\+tools.\+hpp@{test\+\_\+function\+\_\+tools.\+hpp}!Logistic\+Regression\+Test\+Data@{Logistic\+Regression\+Test\+Data}}
\index{Logistic\+Regression\+Test\+Data@{Logistic\+Regression\+Test\+Data}!test\+\_\+function\+\_\+tools.\+hpp@{test\+\_\+function\+\_\+tools.\+hpp}}
\subsubsection{Logistic\+Regression\+Test\+Data()}
{\footnotesize\ttfamily void Logistic\+Regression\+Test\+Data (\begin{DoxyParamCaption}\item[{arma\+::mat \&}]{data,  }\item[{arma\+::mat \&}]{test\+Data,  }\item[{arma\+::mat \&}]{shuffled\+Data,  }\item[{arma\+::\+Row$<$ size\+\_\+t $>$ \&}]{responses,  }\item[{arma\+::\+Row$<$ size\+\_\+t $>$ \&}]{test\+Responses,  }\item[{arma\+::\+Row$<$ size\+\_\+t $>$ \&}]{shuffled\+Responses }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Create the data for the a logistic regression test. 


\begin{DoxyParams}{Parameters}
{\em data} & Matrix object to store the data into. \\
\hline
{\em test\+Data} & Matrix object to store the test data into. \\
\hline
{\em shuffled\+Data} & Matrix object to store the shuffled data into. \\
\hline
{\em responses} & Matrix object to store the overall responses into. \\
\hline
{\em test\+Responses} & Matrix object to store the test responses into. \\
\hline
{\em shuffled\+Responses} & Matrix object to store the shuffled responses into. \\
\hline
\end{DoxyParams}


Definition at line 33 of file test\+\_\+function\+\_\+tools.\+hpp.



References Gaussian\+Distribution\+::\+Random().

