|
Public Member Functions |
| Tree (istream &in) |
| Construct a new tree by loading it from a file.
|
| Tree (const InstanceSet &set, weight_list *weights, int K, uchar max_depth=16, int min_size=1, float min_gain=0, unsigned int seed=0) |
| Construct a new tree by training.
|
int | predict (const Instance &c) const |
| predict a new instance
|
int | predict (const InstanceSet &set, int instance_no) const |
| predict an instance from a set
|
float | training_accuracy () const |
| Return the accuracy for the training set.
|
float | testing_accuracy (const InstanceSet &testset) const |
float | oob_accuracy () const |
void | oob_cases (weight_list *counts, weight_list *correct) const |
void | variable_importance (map< int, float > *scores, unsigned int *seed) const |
void | print () const |
void | grow () |
void | write (ostream &o) const |
void | read (istream &i) |