\section{mlpack\+:\+:hpt Namespace Reference}
\label{namespacemlpack_1_1hpt}\index{mlpack\+::hpt@{mlpack\+::hpt}}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \textbf{ C\+V\+Function}
\begin{DoxyCompactList}\small\item\em This wrapper serves for adapting the interface of the cross-\/validation classes to the one that can be utilized by the mlpack optimizers. \end{DoxyCompactList}\item 
struct \textbf{ Deduce\+Hyper\+Parameter\+Types}
\begin{DoxyCompactList}\small\item\em A type function for deducing types of hyper-\/parameters from types of arguments in the Optimize method in \doxyref{Hyper\+Parameter\+Tuner}{p.}{classmlpack_1_1hpt_1_1HyperParameterTuner}. \end{DoxyCompactList}\item 
struct \textbf{ Deduce\+Hyper\+Parameter\+Types$<$ Pre\+Fixed\+Arg$<$ T $>$, Args... $>$}
\begin{DoxyCompactList}\small\item\em Defining \doxyref{Deduce\+Hyper\+Parameter\+Types}{p.}{structmlpack_1_1hpt_1_1DeduceHyperParameterTypes} for the case when not all argument types have been processed, and the next one is the type of an argument that should be fixed. \end{DoxyCompactList}\item 
struct \textbf{ Deduce\+Hyper\+Parameter\+Types$<$ T, Args... $>$}
\begin{DoxyCompactList}\small\item\em Defining \doxyref{Deduce\+Hyper\+Parameter\+Types}{p.}{structmlpack_1_1hpt_1_1DeduceHyperParameterTypes} for the case when not all argument types have been processed, and the next one (T) is a collection type or an arithmetic type. \end{DoxyCompactList}\item 
struct \textbf{ Fixed\+Arg}
\begin{DoxyCompactList}\small\item\em A struct for storing information about a fixed argument. \end{DoxyCompactList}\item 
class \textbf{ Hyper\+Parameter\+Tuner}
\begin{DoxyCompactList}\small\item\em The class \doxyref{Hyper\+Parameter\+Tuner}{p.}{classmlpack_1_1hpt_1_1HyperParameterTuner} for the given M\+L\+Algorithm utilizes the provided Optimizer to find the values of hyper-\/parameters that optimize the value of the given Metric. \end{DoxyCompactList}\item 
class \textbf{ Is\+Pre\+Fixed\+Arg}
\begin{DoxyCompactList}\small\item\em A type function for checking whether the given type is \doxyref{Pre\+Fixed\+Arg}{p.}{structmlpack_1_1hpt_1_1PreFixedArg}. \end{DoxyCompactList}\item 
struct \textbf{ Pre\+Fixed\+Arg}
\begin{DoxyCompactList}\small\item\em A struct for marking arguments as ones that should be fixed (it can be useful for the Optimize method of \doxyref{Hyper\+Parameter\+Tuner}{p.}{classmlpack_1_1hpt_1_1HyperParameterTuner}). \end{DoxyCompactList}\item 
struct \textbf{ Pre\+Fixed\+Arg$<$ T \& $>$}
\begin{DoxyCompactList}\small\item\em The specialization of the template for references. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename... Args$>$ }\\using \textbf{ Tuple\+Of\+Hyper\+Parameters} = typename \textbf{ Deduce\+Hyper\+Parameter\+Types}$<$ Args... $>$\+::Tuple\+Type
\begin{DoxyCompactList}\small\item\em A short alias for deducing types of hyper-\/parameters from types of arguments in the Optimize method in \doxyref{Hyper\+Parameter\+Tuner}{p.}{classmlpack_1_1hpt_1_1HyperParameterTuner}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename T $>$ }\\\textbf{ Pre\+Fixed\+Arg}$<$ T $>$ \textbf{ Fixed} (T \&\&value)
\begin{DoxyCompactList}\small\item\em Mark the given argument as one that should be fixed. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Typedef Documentation}
\mbox{\label{namespacemlpack_1_1hpt_a7146c132523ba701e4baee3e1cad424d}} 
\index{mlpack\+::hpt@{mlpack\+::hpt}!Tuple\+Of\+Hyper\+Parameters@{Tuple\+Of\+Hyper\+Parameters}}
\index{Tuple\+Of\+Hyper\+Parameters@{Tuple\+Of\+Hyper\+Parameters}!mlpack\+::hpt@{mlpack\+::hpt}}
\subsubsection{Tuple\+Of\+Hyper\+Parameters}
{\footnotesize\ttfamily using \textbf{ Tuple\+Of\+Hyper\+Parameters} =  typename \textbf{ Deduce\+Hyper\+Parameter\+Types}$<$Args...$>$\+::Tuple\+Type}



A short alias for deducing types of hyper-\/parameters from types of arguments in the Optimize method in \doxyref{Hyper\+Parameter\+Tuner}{p.}{classmlpack_1_1hpt_1_1HyperParameterTuner}. 



Definition at line 127 of file deduce\+\_\+hp\+\_\+types.\+hpp.



\subsection{Function Documentation}
\mbox{\label{namespacemlpack_1_1hpt_ad773f4d1def8deb412ffbf37bdf289ec}} 
\index{mlpack\+::hpt@{mlpack\+::hpt}!Fixed@{Fixed}}
\index{Fixed@{Fixed}!mlpack\+::hpt@{mlpack\+::hpt}}
\subsubsection{Fixed()}
{\footnotesize\ttfamily \textbf{ Pre\+Fixed\+Arg}$<$T$>$ mlpack\+::hpt\+::\+Fixed (\begin{DoxyParamCaption}\item[{T \&\&}]{value }\end{DoxyParamCaption})}



Mark the given argument as one that should be fixed. 

It can be applied to arguments that are passed to the Optimize method of \doxyref{Hyper\+Parameter\+Tuner}{p.}{classmlpack_1_1hpt_1_1HyperParameterTuner}.

The implementation avoids data copying. If the passed argument is an l-\/value reference, we store it as a const l-\/value rerefence inside the returned \doxyref{Pre\+Fixed\+Arg}{p.}{structmlpack_1_1hpt_1_1PreFixedArg} object. If the passed argument is an r-\/value reference, light-\/weight copying (by taking possession of the r-\/value) will be made during the initialization of the returned \doxyref{Pre\+Fixed\+Arg}{p.}{structmlpack_1_1hpt_1_1PreFixedArg} object. 

Definition at line 36 of file fixed.\+hpp.

