FreeLing
4.0
|
Class dt_node stores the info in one node of the decision tree. More...
#include <weakrule.h>
Public Member Functions | |
dt_node () | |
dt_node (int f) | |
create non-leaf node, with given feature. | |
dt_node (int nl, double pr[]) | |
create leaf node, with given predictions. | |
dt_node (const dt_node &n) | |
copy constructor | |
Public Attributes | |
int | feature |
std::vector< double > | predictions |
Friends | |
class | mlDTree |
Class dt_node stores the info in one node of the decision tree.
create non-leaf node, with given feature.
freeling::dt_node::dt_node | ( | int | nl, |
double | pr[] | ||
) |
create leaf node, with given predictions.
freeling::dt_node::dt_node | ( | const dt_node & | n | ) |
copy constructor
friend class mlDTree [friend] |
std::vector<double> freeling::dt_node::predictions |