Canopy  1.0
The header-only random forests library
Public Member Functions | Public Attributes | List of all members
canopy::randomForestBase< TDerived, TLabel, TNodeDist, TOutputDist, TNumParams >::node Struct Reference

Node structure - represents one node in a tree. More...

#include <randomForestBase.hpp>

Collaboration diagram for canopy::randomForestBase< TDerived, TLabel, TNodeDist, TOutputDist, TNumParams >::node:
Collaboration graph
[legend]

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.
 

Detailed Description

template<class TDerived, class TLabel, class TNodeDist, class TOutputDist, unsigned TNumParams>
struct canopy::randomForestBase< TDerived, TLabel, TNodeDist, TOutputDist, TNumParams >::node

Node structure - represents one node in a tree.


The documentation for this struct was generated from the following file: