Canopy
1.0
The header-only random forests library
|
Node structure - represents one node in a tree. More...
#include <randomForestBase.hpp>
Public Member Functions | |
node () | |
Basic constructor. | |
Public Attributes | |
std::array< int, TNumParams > | params |
Parameters for the split function. | |
bool | is_leaf |
Indicates whether the node is a leaf (1 -> leaf) | |
float | thresh |
The decision threshold for an internal node. | |
std::vector< TNodeDist > | post |
The posterior distribution over labels for a leaf node, shuld only ever have 1 or 0 elements. | |
Node structure - represents one node in a tree.