2 #ifndef EGAMMAOBJECTS_GBRForest
3 #define EGAMMAOBJECTS_GBRForest
35 explicit GBRForest(
const TMVA::MethodBDT *bdt);
61 for (std::vector<GBRTree>::const_iterator it=
fTrees.begin(); it!=
fTrees.end(); ++it) {
62 response += it->GetResponse(vector);
70 return 2.0/(1.0+
exp(-2.0*response))-1;
double GetResponse(const float *vector) const
std::vector< GBRTree > & Trees()
void SetInitialResponse(double response)
double GetGradBoostClassifier(const float *vector) const
std::vector< GBRTree > fTrees
const std::vector< GBRTree > & Trees() const
#define COND_SERIALIZABLE
double GetClassifier(const float *vector) const
double GetAdaBoostClassifier(const float *vector) const