GentleBoostComponent Class Reference

Double inheritence from SimComponent GentleBoost. More...

#include <Learn/GentleBoostComponent.H>

Inheritance diagram for GentleBoostComponent:
Inheritance graph
[legend]
Collaboration diagram for GentleBoostComponent:
Collaboration graph
[legend]

List of all members.

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::stringgetModelNames ()

Protected Member Functions

virtual void start2 ()
 (re-)initialization - load object database
virtual void stop1 ()
 destruction - save object database

Protected Attributes

OModelParam< std::stringitsGBModelInputFileNamesStr
OModelParam< std::stringitsGBModelOutputFileNamesStr
OModelParam< std::stringitsGBModelNamesStr
OModelParam< std::stringitsGBMode
OModelParam< int > itsMaxIters

Detailed Description

Double inheritence from SimComponent GentleBoost.

Definition at line 54 of file GentleBoostComponent.H.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:21 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3