|
latest version v1.9 - last update 10 Apr 2010 |
|
base class of training functors for the lvq networks More...
#include <ltiLvq.h>


Public Member Functions | |
| trainFunctor (const stdLayer::distancePropFunctor &theProp) | |
| virtual void | setLearnFactor (const double &lrFac) |
| virtual void | setWindowSize (const double &winSize) |
Protected Member Functions | |
| void | twoMinIndex (const dvector &vct, int &min1, int &min2) |
Protected Attributes | |
| stdLayer::distancePropFunctor | prop |
| dvector | delta |
| dvector | delta2 |
| ivector | calls |
| double | learnFactor |
| double | windowSize |
| bool | firstUse |
base class of training functors for the lvq networks
| lti::lvq::trainFunctor::trainFunctor | ( | const stdLayer::distancePropFunctor & | theProp | ) | [inline] |
constructor
| theProp | the distance propagation functor |
| virtual void lti::lvq::trainFunctor::setLearnFactor | ( | const double & | lrFac | ) | [virtual] |
set the learn rate factor
| virtual void lti::lvq::trainFunctor::setWindowSize | ( | const double & | winSize | ) | [virtual] |
set the window size
| void lti::lvq::trainFunctor::twoMinIndex | ( | const dvector & | vct, | |
| int & | min1, | |||
| int & | min2 | |||
| ) | [protected] |
get the indices of the two minimum values of the vector min1 <= min2
ivector lti::lvq::trainFunctor::calls [protected] |
calls vector
dvector lti::lvq::trainFunctor::delta [protected] |
delta vector
dvector lti::lvq::trainFunctor::delta2 [protected] |
delta2 vector
bool lti::lvq::trainFunctor::firstUse [protected] |
first use of the functor
double lti::lvq::trainFunctor::learnFactor [protected] |
lerning rate
distance propagation functor
double lti::lvq::trainFunctor::windowSize [protected] |
window size