_boost_gd Struct Reference

#include <boosting.h>

Inheritance diagram for _boost_gd:

Inheritance graph
[legend]
Collaboration diagram for _boost_gd:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 _boost_gd (Boosting *pb)
REAL cost () const
Boosting::BoostWgt weight () const
void set_weight (const Boosting::BoostWgt &bw) const
Boosting::BoostWgt gradient () const
bool stop_opt (UINT step, REAL cst) const

Public Attributes

Boostingb

Detailed Description

Definition at line 232 of file boosting.h.


Constructor & Destructor Documentation

_boost_gd Boosting pb  )  [inline, explicit]
 

Definition at line 234 of file boosting.h.


Member Function Documentation

REAL cost  )  const [inline]
 

Definition at line 236 of file boosting.h.

References _boost_gd::b, and Boosting::cost().

Boosting::BoostWgt gradient  )  const [inline]
 

Reimplemented in _mgn_gd.

Definition at line 251 of file boosting.h.

References _boost_gd::b, Aggregating::lm, Boosting::sample_weight(), and Boosting::train_with_smpwgt().

Referenced by _mgn_gd::gradient().

void set_weight const Boosting::BoostWgt bw  )  const [inline]
 

Reimplemented in _boost_cg.

Definition at line 242 of file boosting.h.

References _boost_gd::b, Boosting::clear_cache(), Aggregating::lm, Boosting::lm_wgt, Boosting::BoostWgt::models(), Aggregating::n_in_agg, and Boosting::BoostWgt::weights().

Referenced by _mgn_gd::set_weight(), and _boost_cg::set_weight().

bool stop_opt UINT  step,
REAL  cst
const [inline]
 

Definition at line 260 of file boosting.h.

References _boost_gd::b, and Aggregating::max_n_model.

Boosting::BoostWgt weight  )  const [inline]
 

Definition at line 238 of file boosting.h.

References _boost_gd::b, Aggregating::lm, and Boosting::lm_wgt.


Member Data Documentation

Boosting* b
 

Definition at line 233 of file boosting.h.

Referenced by _boost_gd::cost(), _boost_gd::gradient(), _boost_gd::set_weight(), _boost_gd::stop_opt(), and _boost_gd::weight().


The documentation for this struct was generated from the following file:
Generated on Mon Jan 9 23:44:38 2006 for LEMGA by  doxygen 1.4.6