\section{Gini\+Impurity Class Reference}
\label{classmlpack_1_1tree_1_1GiniImpurity}\index{Gini\+Impurity@{Gini\+Impurity}}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static double \textbf{ Evaluate} (const arma\+::\+Mat$<$ size\+\_\+t $>$ \&counts)
\item 
static double \textbf{ Range} (const size\+\_\+t num\+Classes)
\begin{DoxyCompactList}\small\item\em Return the range of the Gini impurity for the given number of classes. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 21 of file gini\+\_\+impurity.\+hpp.



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1tree_1_1GiniImpurity_a578c636308efbd492ea30e62f05f4d63}} 
\index{mlpack\+::tree\+::\+Gini\+Impurity@{mlpack\+::tree\+::\+Gini\+Impurity}!Evaluate@{Evaluate}}
\index{Evaluate@{Evaluate}!mlpack\+::tree\+::\+Gini\+Impurity@{mlpack\+::tree\+::\+Gini\+Impurity}}
\subsubsection{Evaluate()}
{\footnotesize\ttfamily static double Evaluate (\begin{DoxyParamCaption}\item[{const arma\+::\+Mat$<$ size\+\_\+t $>$ \&}]{counts }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Definition at line 24 of file gini\+\_\+impurity.\+hpp.

\mbox{\label{classmlpack_1_1tree_1_1GiniImpurity_a9d801bb1be5db5207213f846f224458f}} 
\index{mlpack\+::tree\+::\+Gini\+Impurity@{mlpack\+::tree\+::\+Gini\+Impurity}!Range@{Range}}
\index{Range@{Range}!mlpack\+::tree\+::\+Gini\+Impurity@{mlpack\+::tree\+::\+Gini\+Impurity}}
\subsubsection{Range()}
{\footnotesize\ttfamily static double Range (\begin{DoxyParamCaption}\item[{const size\+\_\+t}]{num\+Classes }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Return the range of the Gini impurity for the given number of classes. 

(That is, the difference between the maximum possible value and the minimum possible value.) 

Definition at line 77 of file gini\+\_\+impurity.\+hpp.



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/hoeffding\+\_\+trees/\textbf{ gini\+\_\+impurity.\+hpp}\end{DoxyCompactItemize}
