1 #ifndef EGAMMAOBJECTS_GBRForest
2 #define EGAMMAOBJECTS_GBRForest
51 response +=
tree.GetResponse(vector);
59 return 2.0 / (1.0 +
std::exp(-2.0 * response)) - 1;
double GetResponse(const float *vector) const
std::vector< GBRTree > & Trees()
Exp< T >::type exp(const T &t)
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