2 #ifndef EGAMMAOBJECTS_GBRForest 3 #define EGAMMAOBJECTS_GBRForest 55 for (std::vector<GBRTree>::const_iterator it=
fTrees.begin(); it!=
fTrees.end(); ++it) {
56 response += it->GetResponse(vector);
64 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