Static Public Member Functions | |
static double | Evaluate (const arma::Mat< size_t > &counts) |
static double | Range (const size_t numClasses) |
Return the range of the Gini impurity for the given number of classes. More... | |
Definition at line 21 of file gini_impurity.hpp.
|
inlinestatic |
Definition at line 24 of file gini_impurity.hpp.
|
inlinestatic |
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.