\section{/var/www/mlpack.ratml.\+org/mlpack.org/\+\_\+src/mlpack-\/3.3.2/src/mlpack/methods/random\+\_\+forest/bootstrap.hpp File Reference}
\label{bootstrap_8hpp}\index{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+2/src/mlpack/methods/random\+\_\+forest/bootstrap.\+hpp@{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+2/src/mlpack/methods/random\+\_\+forest/bootstrap.\+hpp}}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=210pt]{bootstrap_8hpp__dep__incl}
\end{center}
\end{figure}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \textbf{ mlpack}
\begin{DoxyCompactList}\small\item\em Linear algebra utility functions, generally performed on matrices or vectors. \end{DoxyCompactList}\item 
 \textbf{ mlpack\+::tree}
\begin{DoxyCompactList}\small\item\em Trees and tree-\/building procedures. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$bool Use\+Weights, typename Mat\+Type , typename Labels\+Type , typename Weights\+Type $>$ }\\void \textbf{ Bootstrap} (const Mat\+Type \&dataset, const Labels\+Type \&labels, const Weights\+Type \&weights, Mat\+Type \&bootstrap\+Dataset, Labels\+Type \&bootstrap\+Labels, Weights\+Type \&bootstrap\+Weights)
\begin{DoxyCompactList}\small\item\em Given a dataset, create another dataset via bootstrap sampling, with labels. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Ryan Curtin
\end{DoxyAuthor}
Implementation of the \doxyref{Bootstrap()}{p.}{namespacemlpack_1_1tree_aebb06bf0ada277e56a77d80cd1985dbe} function, which creates a bootstrapped dataset from the given input dataset.

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. 