
Double inheritence from SimComponent GentleBoost. More...
#include <Learn/GentleBoostComponent.H>


Public Member Functions | |
| GentleBoostComponent (OptionManager &mgr, const std::string &descrName="GentleBoostComponent", const std::string &tagName="") | |
| Constructor. | |
| virtual | ~GentleBoostComponent () |
| Destructor. | |
| void | train (int classifierId=-1) |
| void | save (int classifierId=-1) |
| void | addTrainVector (std::vector< float > featureVector, int id, int classifierId=0) |
| int | predict (std::vector< float > featureVector, int classifierId=0) |
| std::map< int, float > | predictPDF (std::vector< float > featureVector, int classifierId=0) |
| int | getMostLikelyClass (const std::map< int, float > &pdf) |
| std::string | getMode () |
| std::vector< std::string > | getModelNames () |
Protected Member Functions | |
| virtual void | start2 () |
| (re-)initialization - load object database | |
| virtual void | stop1 () |
| destruction - save object database | |
Protected Attributes | |
| OModelParam< std::string > | itsGBModelInputFileNamesStr |
| OModelParam< std::string > | itsGBModelOutputFileNamesStr |
| OModelParam< std::string > | itsGBModelNamesStr |
| OModelParam< std::string > | itsGBMode |
| OModelParam< int > | itsMaxIters |
Double inheritence from SimComponent GentleBoost.
Definition at line 54 of file GentleBoostComponent.H.
| GentleBoostComponent::GentleBoostComponent | ( | OptionManager & | mgr, | |
| const std::string & | descrName = "GentleBoostComponent", |
|||
| const std::string & | tagName = "" | |||
| ) |
Constructor.
Definition at line 79 of file GentleBoostComponent.C.
| GentleBoostComponent::~GentleBoostComponent | ( | ) | [virtual] |
Destructor.
Definition at line 92 of file GentleBoostComponent.C.
| void GentleBoostComponent::start2 | ( | ) | [protected, virtual] |
(re-)initialization - load object database
Reimplemented from ModelComponent.
Definition at line 98 of file GentleBoostComponent.C.
References ASSERT, OModelParam< T >::getVal(), GentleBoost::load(), and split().
| void GentleBoostComponent::stop1 | ( | ) | [protected, virtual] |
destruction - save object database
Reimplemented from ModelComponent.
Definition at line 145 of file GentleBoostComponent.C.
References OModelParam< T >::getVal().
1.6.3