\section{mlpack Namespace Reference}
\label{namespacemlpack}\index{mlpack@{mlpack}}


strip\+\_\+type.\+hpp  


\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \textbf{ adaboost}
\item 
 \textbf{ amf}
\begin{DoxyCompactList}\small\item\em Alternating Matrix Factorization. \end{DoxyCompactList}\item 
 \textbf{ ann}
\begin{DoxyCompactList}\small\item\em Artificial Neural Network. \end{DoxyCompactList}\item 
 \textbf{ bindings}
\item 
 \textbf{ bound}
\item 
 \textbf{ cf}
\begin{DoxyCompactList}\small\item\em Collaborative filtering. \end{DoxyCompactList}\item 
 \textbf{ cv}
\item 
 \textbf{ data}
\begin{DoxyCompactList}\small\item\em Functions to load and save matrices and models. \end{DoxyCompactList}\item 
 \textbf{ dbscan}
\item 
 \textbf{ decision\+\_\+stump}
\item 
 \textbf{ det}
\begin{DoxyCompactList}\small\item\em Density Estimation Trees. \end{DoxyCompactList}\item 
 \textbf{ distribution}
\begin{DoxyCompactList}\small\item\em Probability distributions. \end{DoxyCompactList}\item 
 \textbf{ emst}
\begin{DoxyCompactList}\small\item\em Euclidean Minimum Spanning Trees. \end{DoxyCompactList}\item 
 \textbf{ fastmks}
\begin{DoxyCompactList}\small\item\em Fast max-\/kernel search. \end{DoxyCompactList}\item 
 \textbf{ gmm}
\begin{DoxyCompactList}\small\item\em Gaussian Mixture Models. \end{DoxyCompactList}\item 
 \textbf{ hmm}
\begin{DoxyCompactList}\small\item\em Hidden Markov Models. \end{DoxyCompactList}\item 
 \textbf{ hpt}
\item 
 \textbf{ kde}
\begin{DoxyCompactList}\small\item\em Kernel Density Estimation. \end{DoxyCompactList}\item 
 \textbf{ kernel}
\begin{DoxyCompactList}\small\item\em Kernel functions. \end{DoxyCompactList}\item 
 \textbf{ kmeans}
\begin{DoxyCompactList}\small\item\em K-\/\+Means clustering. \end{DoxyCompactList}\item 
 \textbf{ kpca}
\item 
 \textbf{ lcc}
\item 
 \textbf{ lmnn}
\begin{DoxyCompactList}\small\item\em Large Margin Nearest Neighbor. \end{DoxyCompactList}\item 
 \textbf{ math}
\begin{DoxyCompactList}\small\item\em Miscellaneous math routines. \end{DoxyCompactList}\item 
 \textbf{ matrix\+\_\+completion}
\item 
 \textbf{ meanshift}
\begin{DoxyCompactList}\small\item\em Mean shift clustering. \end{DoxyCompactList}\item 
 \textbf{ metric}
\item 
 \textbf{ mvu}
\item 
 \textbf{ naive\+\_\+bayes}
\begin{DoxyCompactList}\small\item\em The Naive Bayes Classifier. \end{DoxyCompactList}\item 
 \textbf{ nca}
\begin{DoxyCompactList}\small\item\em Neighborhood Components Analysis. \end{DoxyCompactList}\item 
 \textbf{ neighbor}
\item 
 \textbf{ nn}
\item 
 \textbf{ pca}
\item 
 \textbf{ perceptron}
\item 
 \textbf{ radical}
\item 
 \textbf{ range}
\begin{DoxyCompactList}\small\item\em Range-\/search routines. \end{DoxyCompactList}\item 
 \textbf{ regression}
\begin{DoxyCompactList}\small\item\em Regression methods. \end{DoxyCompactList}\item 
 \textbf{ rl}
\item 
 \textbf{ sfinae}
\item 
 \textbf{ sparse\+\_\+coding}
\item 
 \textbf{ svd}
\item 
 \textbf{ svm}
\item 
 \textbf{ tree}
\begin{DoxyCompactList}\small\item\em Trees and tree-\/building procedures. \end{DoxyCompactList}\item 
 \textbf{ util}
\end{DoxyCompactItemize}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \textbf{ Backtrace}
\begin{DoxyCompactList}\small\item\em Provides a backtrace. \end{DoxyCompactList}\item 
class \textbf{ C\+LI}
\begin{DoxyCompactList}\small\item\em Parses the command line for parameters and holds user-\/specified parameters. \end{DoxyCompactList}\item 
class \textbf{ Log}
\begin{DoxyCompactList}\small\item\em Provides a convenient way to give formatted output. \end{DoxyCompactList}\item 
class \textbf{ Timer}
\begin{DoxyCompactList}\small\item\em The timer class provides a way for mlpack methods to be timed. \end{DoxyCompactList}\item 
class \textbf{ Timers}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ Check\+Matrices} (const arma\+::mat \&x, const arma\+::mat \&xmlX, const arma\+::mat \&textX, const arma\+::mat \&binaryX)
\item 
void \textbf{ Check\+Matrices} (const arma\+::\+Mat$<$ size\+\_\+t $>$ \&x, const arma\+::\+Mat$<$ size\+\_\+t $>$ \&xmlX, const arma\+::\+Mat$<$ size\+\_\+t $>$ \&textX, const arma\+::\+Mat$<$ size\+\_\+t $>$ \&binaryX)
\item 
void \textbf{ Check\+Matrices} (const arma\+::cube \&x, const arma\+::cube \&xmlX, const arma\+::cube \&textX, const arma\+::cube \&binaryX)
\item 
{\footnotesize template$<$typename T , typename I\+Archive\+Type , typename O\+Archive\+Type $>$ }\\void \textbf{ Serialize\+Object} (T \&t, T \&newT)
\item 
{\footnotesize template$<$typename T $>$ }\\void \textbf{ Serialize\+Object\+All} (T \&t, T \&xmlT, T \&textT, T \&binaryT)
\item 
{\footnotesize template$<$typename T , typename I\+Archive\+Type , typename O\+Archive\+Type $>$ }\\void \textbf{ Serialize\+Pointer\+Object} (T $\ast$t, T $\ast$\&newT)
\item 
{\footnotesize template$<$typename T $>$ }\\void \textbf{ Serialize\+Pointer\+Object\+All} (T $\ast$t, T $\ast$\&xmlT, T $\ast$\&textT, T $\ast$\&binaryT)
\item 
{\footnotesize template$<$typename Cube\+Type $>$ }\\void \textbf{ Test\+All\+Armadillo\+Serialization} (arma\+::\+Cube$<$ Cube\+Type $>$ \&x)
\item 
{\footnotesize template$<$typename Mat\+Type $>$ }\\void \textbf{ Test\+All\+Armadillo\+Serialization} (Mat\+Type \&x)
\item 
{\footnotesize template$<$typename Cube\+Type , typename I\+Archive\+Type , typename O\+Archive\+Type $>$ }\\void \textbf{ Test\+Armadillo\+Serialization} (arma\+::\+Cube$<$ Cube\+Type $>$ \&x)
\item 
{\footnotesize template$<$typename Mat\+Type , typename I\+Archive\+Type , typename O\+Archive\+Type $>$ }\\void \textbf{ Test\+Armadillo\+Serialization} (Mat\+Type \&x)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
strip\+\_\+type.\+hpp 

This class is used to update the weight\+Vectors matrix according to the simple update rule as discussed by Rosenblatt\+:

Linear algebra utility functions, generally performed on matrices or vectors.

.hpp

\begin{DoxyAuthor}{Author}
Ryan Curtin
\end{DoxyAuthor}
Given a C++ type name, turn it into something that has no special characters that can simply be printed.

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.

\begin{DoxyAuthor}{Author}
Ryan Curtin
\end{DoxyAuthor}
Simple utilities for \doxyref{boost\+::serialization}{p.}{namespaceboost_1_1serialization}.

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.

if a vector x has been incorrectly classified by a weight w, then w = w -\/ x and w\textquotesingle{}= w\textquotesingle{}+ x

where w\textquotesingle{} is the weight vector which correctly classifies x. 

\subsection{Function Documentation}
\mbox{\label{namespacemlpack_a0fe911a7bbd75025ff7b7c71238cd34c}} 
\index{mlpack@{mlpack}!Check\+Matrices@{Check\+Matrices}}
\index{Check\+Matrices@{Check\+Matrices}!mlpack@{mlpack}}
\subsubsection{Check\+Matrices()\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void mlpack\+::\+Check\+Matrices (\begin{DoxyParamCaption}\item[{const arma\+::mat \&}]{x,  }\item[{const arma\+::mat \&}]{xmlX,  }\item[{const arma\+::mat \&}]{textX,  }\item[{const arma\+::mat \&}]{binaryX }\end{DoxyParamCaption})}



Referenced by Serialize\+Pointer\+Object\+All().

\mbox{\label{namespacemlpack_a8c469fd331cf776f2eee354c0a015d8a}} 
\index{mlpack@{mlpack}!Check\+Matrices@{Check\+Matrices}}
\index{Check\+Matrices@{Check\+Matrices}!mlpack@{mlpack}}
\subsubsection{Check\+Matrices()\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void mlpack\+::\+Check\+Matrices (\begin{DoxyParamCaption}\item[{const arma\+::\+Mat$<$ size\+\_\+t $>$ \&}]{x,  }\item[{const arma\+::\+Mat$<$ size\+\_\+t $>$ \&}]{xmlX,  }\item[{const arma\+::\+Mat$<$ size\+\_\+t $>$ \&}]{textX,  }\item[{const arma\+::\+Mat$<$ size\+\_\+t $>$ \&}]{binaryX }\end{DoxyParamCaption})}

\mbox{\label{namespacemlpack_ace182013a9645bcf6a17ab09a054723c}} 
\index{mlpack@{mlpack}!Check\+Matrices@{Check\+Matrices}}
\index{Check\+Matrices@{Check\+Matrices}!mlpack@{mlpack}}
\subsubsection{Check\+Matrices()\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void mlpack\+::\+Check\+Matrices (\begin{DoxyParamCaption}\item[{const arma\+::cube \&}]{x,  }\item[{const arma\+::cube \&}]{xmlX,  }\item[{const arma\+::cube \&}]{textX,  }\item[{const arma\+::cube \&}]{binaryX }\end{DoxyParamCaption})}

\mbox{\label{namespacemlpack_a60e0769fd629305e7b5ea41569bc64ae}} 
\index{mlpack@{mlpack}!Serialize\+Object@{Serialize\+Object}}
\index{Serialize\+Object@{Serialize\+Object}!mlpack@{mlpack}}
\subsubsection{Serialize\+Object()}
{\footnotesize\ttfamily void mlpack\+::\+Serialize\+Object (\begin{DoxyParamCaption}\item[{T \&}]{t,  }\item[{T \&}]{newT }\end{DoxyParamCaption})}



Definition at line 193 of file serialization.\+hpp.



References mlpack\+::data\+::binary, and Filter\+File\+Name().



Referenced by Serialize\+Object\+All().

\mbox{\label{namespacemlpack_a2c12613be81ade35dce1fd91b5af0b26}} 
\index{mlpack@{mlpack}!Serialize\+Object\+All@{Serialize\+Object\+All}}
\index{Serialize\+Object\+All@{Serialize\+Object\+All}!mlpack@{mlpack}}
\subsubsection{Serialize\+Object\+All()}
{\footnotesize\ttfamily void mlpack\+::\+Serialize\+Object\+All (\begin{DoxyParamCaption}\item[{T \&}]{t,  }\item[{T \&}]{xmlT,  }\item[{T \&}]{textT,  }\item[{T \&}]{binaryT }\end{DoxyParamCaption})}



Definition at line 240 of file serialization.\+hpp.



References Serialize\+Object().

\mbox{\label{namespacemlpack_a4aa2fa900138dc71a37b9b3922d6faff}} 
\index{mlpack@{mlpack}!Serialize\+Pointer\+Object@{Serialize\+Pointer\+Object}}
\index{Serialize\+Pointer\+Object@{Serialize\+Pointer\+Object}!mlpack@{mlpack}}
\subsubsection{Serialize\+Pointer\+Object()}
{\footnotesize\ttfamily void mlpack\+::\+Serialize\+Pointer\+Object (\begin{DoxyParamCaption}\item[{T $\ast$}]{t,  }\item[{T $\ast$\&}]{newT }\end{DoxyParamCaption})}



Definition at line 252 of file serialization.\+hpp.



References mlpack\+::data\+::binary, and Filter\+File\+Name().



Referenced by Serialize\+Pointer\+Object\+All().

\mbox{\label{namespacemlpack_a996968287c96424fe3ec8ba9ee8fbdef}} 
\index{mlpack@{mlpack}!Serialize\+Pointer\+Object\+All@{Serialize\+Pointer\+Object\+All}}
\index{Serialize\+Pointer\+Object\+All@{Serialize\+Pointer\+Object\+All}!mlpack@{mlpack}}
\subsubsection{Serialize\+Pointer\+Object\+All()}
{\footnotesize\ttfamily void mlpack\+::\+Serialize\+Pointer\+Object\+All (\begin{DoxyParamCaption}\item[{T $\ast$}]{t,  }\item[{T $\ast$\&}]{xmlT,  }\item[{T $\ast$\&}]{textT,  }\item[{T $\ast$\&}]{binaryT }\end{DoxyParamCaption})}



Definition at line 297 of file serialization.\+hpp.



References Check\+Matrices(), and Serialize\+Pointer\+Object().

\mbox{\label{namespacemlpack_a4f980f11d878f685a51f25a1e00aeef1}} 
\index{mlpack@{mlpack}!Test\+All\+Armadillo\+Serialization@{Test\+All\+Armadillo\+Serialization}}
\index{Test\+All\+Armadillo\+Serialization@{Test\+All\+Armadillo\+Serialization}!mlpack@{mlpack}}
\subsubsection{Test\+All\+Armadillo\+Serialization()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void mlpack\+::\+Test\+All\+Armadillo\+Serialization (\begin{DoxyParamCaption}\item[{arma\+::\+Cube$<$ Cube\+Type $>$ \&}]{x }\end{DoxyParamCaption})}



Definition at line 106 of file serialization.\+hpp.



References Test\+Armadillo\+Serialization().

\mbox{\label{namespacemlpack_a48f8ce6e4565473110b4f55040b74b2f}} 
\index{mlpack@{mlpack}!Test\+All\+Armadillo\+Serialization@{Test\+All\+Armadillo\+Serialization}}
\index{Test\+All\+Armadillo\+Serialization@{Test\+All\+Armadillo\+Serialization}!mlpack@{mlpack}}
\subsubsection{Test\+All\+Armadillo\+Serialization()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void mlpack\+::\+Test\+All\+Armadillo\+Serialization (\begin{DoxyParamCaption}\item[{Mat\+Type \&}]{x }\end{DoxyParamCaption})}



Definition at line 180 of file serialization.\+hpp.



References Test\+Armadillo\+Serialization().

\mbox{\label{namespacemlpack_a615dd99e3b326f33e92e48f84d3f86cf}} 
\index{mlpack@{mlpack}!Test\+Armadillo\+Serialization@{Test\+Armadillo\+Serialization}}
\index{Test\+Armadillo\+Serialization@{Test\+Armadillo\+Serialization}!mlpack@{mlpack}}
\subsubsection{Test\+Armadillo\+Serialization()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void mlpack\+::\+Test\+Armadillo\+Serialization (\begin{DoxyParamCaption}\item[{arma\+::\+Cube$<$ Cube\+Type $>$ \&}]{x }\end{DoxyParamCaption})}



Definition at line 33 of file serialization.\+hpp.



References mlpack\+::data\+::binary, and Filter\+File\+Name().



Referenced by Test\+All\+Armadillo\+Serialization().

\mbox{\label{namespacemlpack_a7c2aa41ce56ddd03a2a2d8580b2433c2}} 
\index{mlpack@{mlpack}!Test\+Armadillo\+Serialization@{Test\+Armadillo\+Serialization}}
\index{Test\+Armadillo\+Serialization@{Test\+Armadillo\+Serialization}!mlpack@{mlpack}}
\subsubsection{Test\+Armadillo\+Serialization()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void mlpack\+::\+Test\+Armadillo\+Serialization (\begin{DoxyParamCaption}\item[{Mat\+Type \&}]{x }\end{DoxyParamCaption})}



Definition at line 120 of file serialization.\+hpp.



References mlpack\+::data\+::binary, and Filter\+File\+Name().

