|
Public Member Functions |
| mlABTree (double *p0) |
| mlABTree (int f, mlABTree *wrFalse, mlABTree *wrTrue) |
| ~mlABTree () |
void | classify (input *i, double *pred) |
void | print (char *carry) |
void | write_to_stream (ofstream &os) |
Static Public Member Functions |
static void | set_nlabels (int nl) |
static void | set_verbose (int level) |
static void | set_epsilon (double eps) |
static mlABTree * | read_from_stream (istream &is) |
static mlABTree * | learn (dataset *ds, double *Z, int max_depth0) |
Private Member Functions |
| mlABTree (const mlABTree &wr0) |
Static Private Member Functions |
static mlABTree * | learn_0 (dataset *ds, double *Z, int depth) |
static int | stopping_criterion (dataset *ds, int depth) |
static int | best_feature (dataset *ds, double *W) |
static double | Zcalculus (double *W, int ndim) |
static void | Cprediction (int v, double *W, double result[]) |
Private Attributes |
int | feature |
mlABTree ** | sons |
double * | predictions |
Static Private Attributes |
static int | nlabels |
static double | epsilon |
static int | max_depth |
static int * | used_features |
static int | verbose |