Public Member Functions | |
GentleBoostBinary (int maxTreeSize=1) | |
std::vector< float > | predict (const std::vector< std::vector< float > > &data) |
std::vector< float > | predict (const std::vector< std::vector< float > > &data, std::vector< float > weights) |
void | train (const std::vector< std::vector< float > > &data, const std::vector< int > &labels, int maxIters) |
void | train (const std::vector< std::vector< float > > &data, const std::vector< int > &labels, int maxIters, std::vector< float > &predictions) |
void | clear () |
Remove all training. | |
void | printTree () |
Print underlying decision tree. | |
void | writeTree (std::ostream &outstream) |
void | readTree (std::istream &instream) |
Definition at line 50 of file GentleBoostBinary.H.
void GentleBoostBinary::clear | ( | ) |
Remove all training.
Definition at line 252 of file GentleBoostBinary.C.
void GentleBoostBinary::printTree | ( | ) |
Print underlying decision tree.
Definition at line 175 of file GentleBoostBinary.C.
References rutz::shared_ptr< T >::is_valid().