latest version v1.9 - last update 10 Apr 2010 |
OLVQ1. More...
#include <ltiLvq.h>
Public Member Functions | |
olvq1TrainFunctor (stdLayer::distancePropFunctor &theProp) | |
void | setLearnRate (const double &theLr) |
bool | operator() (const dvector &input, dmatrix &weights, dvector &outLayer, const ivector &outID, const int &trainID, bool &modified) |
Protected Attributes | |
dvector | lr |
OLVQ1.
lti::lvq::olvq1TrainFunctor::olvq1TrainFunctor | ( | stdLayer::distancePropFunctor & | theProp | ) | [inline] |
constructor
bool lti::lvq::olvq1TrainFunctor::operator() | ( | const dvector & | input, | |
dmatrix & | weights, | |||
dvector & | outLayer, | |||
const ivector & | outID, | |||
const int & | trainID, | |||
bool & | modified | |||
) | [virtual] |
apply operator
Reimplemented from lti::stdLayer::trainFunctor.
void lti::lvq::olvq1TrainFunctor::setLearnRate | ( | const double & | theLr | ) | [virtual] |
set the learn rate
Reimplemented from lti::stdLayer::trainFunctor.
dvector lti::lvq::olvq1TrainFunctor::lr [protected] |
learning rate vector