2 #ifndef EGAMMAOBJECTS_GBRTree
3 #define EGAMMAOBJECTS_GBRTree
33 class DecisionTreeNode;
41 explicit GBRTree(
const TMVA::DecisionTree *
tree,
double scale,
bool useyesnoleaf,
bool adjustboundary);
68 void AddNode(
const TMVA::DecisionTreeNode *node,
double scale,
bool isregression,
bool useyesnoleaf,
bool adjustboundary);
const std::vector< float > & CutVals() const
std::vector< float > & Responses()
const std::vector< int > & RightIndices() const
const std::vector< int > & LeftIndices() const
unsigned int CountIntermediateNodes(const TMVA::DecisionTreeNode *node)
std::vector< float > & CutVals()
std::vector< int > fRightIndices
std::vector< float > fResponses
std::vector< int > & LeftIndices()
const std::vector< unsigned char > & CutIndices() const
unsigned int CountTerminalNodes(const TMVA::DecisionTreeNode *node)
double GetResponse(const float *vector) const
std::vector< float > fCutVals
std::vector< int > fLeftIndices
#define COND_SERIALIZABLE
const std::vector< float > & Responses() const
int TerminalIndex(const float *vector) const
std::vector< int > & RightIndices()
std::vector< unsigned char > fCutIndices
void AddNode(const TMVA::DecisionTreeNode *node, double scale, bool isregression, bool useyesnoleaf, bool adjustboundary)
std::vector< unsigned char > & CutIndices()