philsupertramp/game-math
|
Go to the source code of this file.
Classes | |
class | DecisionNode |
struct | DataSplit |
class | DecisionTree |
Enumerations | |
enum | ImpurityMeasure { ENTROPY = 0 , GINI = 1 } |
enum | DecisionNodeType { NONE = -1 , LEAF = 0 , DECISION = 1 } |
Functions | |
const char * | measure_to_name (ImpurityMeasure measure) |
double | entropy (const Matrix< double > &in) |
Matrix< double > | count_bins (const Matrix< double > &in) |
double | gini (const Matrix< double > &in) |
Variables | |
struct DataSplit | DataSplit |
enum DecisionNodeType |
enum ImpurityMeasure |
double entropy | ( | const Matrix< double > & | in | ) |
double gini | ( | const Matrix< double > & | in | ) |
const char * measure_to_name | ( | ImpurityMeasure | measure | ) |