Boosting::BoostWgt Class Reference

Weight in gradient descent. More...

#include <boosting.h>

Collaboration diagram for Boosting::BoostWgt:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BoostWgt ()
 BoostWgt (const std::vector< pLearnModel > &_lm, const std::vector< REAL > &_wgt)
UINT size () const
const std::vector< pLearnModel > & models () const
const std::vector< REAL > & weights () const
void clear ()
BoostWgtoperator+= (const BoostWgt &)
BoostWgtoperator *= (REAL)
BoostWgt operator- () const
bool operator== (const BoostWgt &w) const

Detailed Description

Weight in gradient descent.

Definition at line 203 of file boosting.h.


Constructor & Destructor Documentation

BoostWgt  )  [inline]
 

Definition at line 208 of file boosting.h.

Referenced by Boosting::BoostWgt::operator-().

BoostWgt const std::vector< pLearnModel > &  _lm,
const std::vector< REAL > &  _wgt
[inline]
 

Definition at line 209 of file boosting.h.


Member Function Documentation

void clear  )  [inline]
 

Definition at line 216 of file boosting.h.

const std::vector<pLearnModel>& models  )  const [inline]
 

Definition at line 214 of file boosting.h.

Referenced by lemga::op::inner_product(), and _boost_gd::set_weight().

Boosting::BoostWgt & operator *= REAL   ) 
 

Definition at line 271 of file boosting.cpp.

Boosting::BoostWgt & operator+= const BoostWgt  ) 
 

Definition at line 252 of file boosting.cpp.

References Boosting::BoostWgt::lm, Boosting::BoostWgt::lm_wgt, and Boosting::BoostWgt::size().

Boosting::BoostWgt operator-  )  const
 

Definition at line 266 of file boosting.cpp.

References Boosting::BoostWgt::BoostWgt().

bool operator== const BoostWgt w  )  const [inline]
 

Definition at line 222 of file boosting.h.

References Boosting::BoostWgt::lm, and Boosting::BoostWgt::lm_wgt.

UINT size  )  const [inline]
 

Definition at line 213 of file boosting.h.

Referenced by lemga::op::inner_product(), Boosting::BoostWgt::operator+=(), and _boost_cg::set_weight().

const std::vector<REAL>& weights  )  const [inline]
 

Definition at line 215 of file boosting.h.

Referenced by lemga::op::inner_product(), and _boost_gd::set_weight().


The documentation for this class was generated from the following files:
Generated on Wed Nov 8 08:16:43 2006 for LEMGA by  doxygen 1.4.6