\section{K\+D\+E\+Stat Class Reference}
\label{classmlpack_1_1kde_1_1KDEStat}\index{K\+D\+E\+Stat@{K\+D\+E\+Stat}}


Extra data for each node in the tree for the task of kernel density estimation.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ K\+D\+E\+Stat} ()
\begin{DoxyCompactList}\small\item\em Initialize the statistic. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Tree\+Type $>$ }\\\textbf{ K\+D\+E\+Stat} (Tree\+Type \&)
\begin{DoxyCompactList}\small\item\em Initialization for a fully initialized node. \end{DoxyCompactList}\item 
double \textbf{ Accum\+Alpha} () const
\begin{DoxyCompactList}\small\item\em Get accumulated Monte Carlo alpha of the node. \end{DoxyCompactList}\item 
double \& \textbf{ Accum\+Alpha} ()
\begin{DoxyCompactList}\small\item\em Modify accumulated Monte Carlo alpha of the node. \end{DoxyCompactList}\item 
double \textbf{ Accum\+Error} () const
\begin{DoxyCompactList}\small\item\em Get accumulated error tolerance of the node. \end{DoxyCompactList}\item 
double \& \textbf{ Accum\+Error} ()
\begin{DoxyCompactList}\small\item\em Modify accumulated error tolerance of the node. \end{DoxyCompactList}\item 
double \textbf{ M\+C\+Alpha} () const
\begin{DoxyCompactList}\small\item\em Get Monte Carlo alpha of the node. \end{DoxyCompactList}\item 
double \& \textbf{ M\+C\+Alpha} ()
\begin{DoxyCompactList}\small\item\em Modify Monte Carlo alpha of the node. \end{DoxyCompactList}\item 
double \textbf{ M\+C\+Beta} () const
\begin{DoxyCompactList}\small\item\em Get accumulated Monte Carlo alpha of the node. \end{DoxyCompactList}\item 
double \& \textbf{ M\+C\+Beta} ()
\begin{DoxyCompactList}\small\item\em Modify accumulated Monte Carlo alpha of the node. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Archive $>$ }\\void \textbf{ serialize} (Archive \&ar, const unsigned int version)
\begin{DoxyCompactList}\small\item\em Serialize the statistic to/from an archive. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Extra data for each node in the tree for the task of kernel density estimation. 

Definition at line 24 of file kde\+\_\+stat.\+hpp.



\subsection{Constructor \& Destructor Documentation}
\mbox{\label{classmlpack_1_1kde_1_1KDEStat_acffee2b814c792035ae39738acb47a91}} 
\index{mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}!K\+D\+E\+Stat@{K\+D\+E\+Stat}}
\index{K\+D\+E\+Stat@{K\+D\+E\+Stat}!mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}}
\subsubsection{K\+D\+E\+Stat()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \textbf{ K\+D\+E\+Stat} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Initialize the statistic. 



Definition at line 28 of file kde\+\_\+stat.\+hpp.

\mbox{\label{classmlpack_1_1kde_1_1KDEStat_a3aeb7df5d75c45ff9510a2088e9a21b5}} 
\index{mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}!K\+D\+E\+Stat@{K\+D\+E\+Stat}}
\index{K\+D\+E\+Stat@{K\+D\+E\+Stat}!mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}}
\subsubsection{K\+D\+E\+Stat()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \textbf{ K\+D\+E\+Stat} (\begin{DoxyParamCaption}\item[{Tree\+Type \&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Initialization for a fully initialized node. 



Definition at line 37 of file kde\+\_\+stat.\+hpp.



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1kde_1_1KDEStat_a172b2e6cd43b627158e558e3dacd2c13}} 
\index{mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}!Accum\+Alpha@{Accum\+Alpha}}
\index{Accum\+Alpha@{Accum\+Alpha}!mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}}
\subsubsection{Accum\+Alpha()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily double Accum\+Alpha (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get accumulated Monte Carlo alpha of the node. 



Definition at line 51 of file kde\+\_\+stat.\+hpp.

\mbox{\label{classmlpack_1_1kde_1_1KDEStat_aad708d8c87d9b3c99eb9c5b3dd8daca0}} 
\index{mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}!Accum\+Alpha@{Accum\+Alpha}}
\index{Accum\+Alpha@{Accum\+Alpha}!mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}}
\subsubsection{Accum\+Alpha()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily double\& Accum\+Alpha (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify accumulated Monte Carlo alpha of the node. 



Definition at line 54 of file kde\+\_\+stat.\+hpp.

\mbox{\label{classmlpack_1_1kde_1_1KDEStat_a4b14a5b766c31f255c9e540cd8c34e26}} 
\index{mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}!Accum\+Error@{Accum\+Error}}
\index{Accum\+Error@{Accum\+Error}!mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}}
\subsubsection{Accum\+Error()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily double Accum\+Error (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get accumulated error tolerance of the node. 



Definition at line 57 of file kde\+\_\+stat.\+hpp.

\mbox{\label{classmlpack_1_1kde_1_1KDEStat_a0d4ba0b1d3b68be5db83e8fa87fefa0d}} 
\index{mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}!Accum\+Error@{Accum\+Error}}
\index{Accum\+Error@{Accum\+Error}!mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}}
\subsubsection{Accum\+Error()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily double\& Accum\+Error (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify accumulated error tolerance of the node. 



Definition at line 60 of file kde\+\_\+stat.\+hpp.

\mbox{\label{classmlpack_1_1kde_1_1KDEStat_a6eeba0b6322d51e189693f8b6750d949}} 
\index{mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}!M\+C\+Alpha@{M\+C\+Alpha}}
\index{M\+C\+Alpha@{M\+C\+Alpha}!mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}}
\subsubsection{M\+C\+Alpha()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily double M\+C\+Alpha (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get Monte Carlo alpha of the node. 



Definition at line 63 of file kde\+\_\+stat.\+hpp.

\mbox{\label{classmlpack_1_1kde_1_1KDEStat_aced11fd0267dbf63565d068cc93f2374}} 
\index{mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}!M\+C\+Alpha@{M\+C\+Alpha}}
\index{M\+C\+Alpha@{M\+C\+Alpha}!mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}}
\subsubsection{M\+C\+Alpha()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily double\& M\+C\+Alpha (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify Monte Carlo alpha of the node. 



Definition at line 66 of file kde\+\_\+stat.\+hpp.

\mbox{\label{classmlpack_1_1kde_1_1KDEStat_ac96f65761044e25d12633a47c17bda0e}} 
\index{mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}!M\+C\+Beta@{M\+C\+Beta}}
\index{M\+C\+Beta@{M\+C\+Beta}!mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}}
\subsubsection{M\+C\+Beta()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily double M\+C\+Beta (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get accumulated Monte Carlo alpha of the node. 



Definition at line 45 of file kde\+\_\+stat.\+hpp.

\mbox{\label{classmlpack_1_1kde_1_1KDEStat_a87e9dbd91538272fd963fb4dc9acf345}} 
\index{mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}!M\+C\+Beta@{M\+C\+Beta}}
\index{M\+C\+Beta@{M\+C\+Beta}!mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}}
\subsubsection{M\+C\+Beta()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily double\& M\+C\+Beta (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify accumulated Monte Carlo alpha of the node. 



Definition at line 48 of file kde\+\_\+stat.\+hpp.

\mbox{\label{classmlpack_1_1kde_1_1KDEStat_a68e832cb064e3b7ca978d8e5911cf700}} 
\index{mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}!serialize@{serialize}}
\index{serialize@{serialize}!mlpack\+::kde\+::\+K\+D\+E\+Stat@{mlpack\+::kde\+::\+K\+D\+E\+Stat}}
\subsubsection{serialize()}
{\footnotesize\ttfamily void serialize (\begin{DoxyParamCaption}\item[{Archive \&}]{ar,  }\item[{const unsigned int}]{version }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Serialize the statistic to/from an archive. 



Definition at line 70 of file kde\+\_\+stat.\+hpp.



References B\+O\+O\+S\+T\+\_\+\+T\+E\+M\+P\+L\+A\+T\+E\+\_\+\+C\+L\+A\+S\+S\+\_\+\+V\+E\+R\+S\+I\+O\+N().



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/git/src/mlpack/methods/kde/\textbf{ kde\+\_\+stat.\+hpp}\end{DoxyCompactItemize}
