_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
UINT max_step

Detailed Description

Definition at line 230 of file boosting.h.


Constructor & Destructor Documentation

_boost_gd Boosting pb  )  [inline, explicit]
 

Definition at line 233 of file boosting.h.

References _boost_gd::b, Aggregating::max_n_model, _boost_gd::max_step, and Aggregating::size().


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 253 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, LearnModel::set_dimensions(), 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 262 of file boosting.h.

References _boost_gd::max_step.

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 231 of file boosting.h.

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

UINT max_step
 

Definition at line 232 of file boosting.h.

Referenced by _boost_gd::_boost_gd(), and _boost_gd::stop_opt().


The documentation for this struct was generated from the following file:
Generated on Wed Nov 8 08:16:44 2006 for LEMGA by  doxygen 1.4.6