latest version v1.9 - last update 10 Apr 2010 |
This class and all it's derived classes should initialize the network layer. More...
#include <ltiStdLayer.h>
Public Member Functions | |
initFunctor () | |
virtual | ~initFunctor () |
virtual bool | operator() (dmatrix &weights, ivector &outID)=0 |
Protected Member Functions | |
ivector | uniqueIDs (const ivector &allIDs) const |
dmatrix | classVectors (const dmatrix &allVectors, const ivector &allIDs, int nbViews, int id) const |
This class and all it's derived classes should initialize the network layer.
lti::stdLayer::initFunctor::initFunctor | ( | ) | [inline] |
default constructor
virtual lti::stdLayer::initFunctor::~initFunctor | ( | ) | [inline, virtual] |
destructor
virtual bool lti::stdLayer::initFunctor::operator() | ( | dmatrix & | weights, | |
ivector & | outID | |||
) | [pure virtual] |
initialization operator
Implemented in lti::lvq::randInitFunctor, lti::lvq::maxDistInitFunctor, lti::rbf::initFunctor1, and lti::rbf::initFunctor2.
Returns the unique IDs in a vector.