LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::lvq::randInitFunctor Class Reference

random initialization More...

#include <ltiLvq.h>

Inheritance diagram for lti::lvq::randInitFunctor:
Inheritance graph
[legend]
Collaboration diagram for lti::lvq::randInitFunctor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 randInitFunctor (const dmatrix &theFeatures, const ivector &theTrainIDs, const ivector &theNbViewsObj, const int &theNbObj, const int &theNbNeurObj)
bool operator() (dmatrix &weights, ivector &outID)

Protected Attributes

const dmatrixfeatures
const ivectortrainIDs
const ivectornbViewsObj
const int & nbObj
const int & nbNeurObj

Detailed Description

random initialization


Constructor & Destructor Documentation

lti::lvq::randInitFunctor::randInitFunctor ( const dmatrix theFeatures,
const ivector theTrainIDs,
const ivector theNbViewsObj,
const int &  theNbObj,
const int &  theNbNeurObj 
)

LVQ ANNs are best initialized with the training data therefore the somewhat bulky constructor.


Member Function Documentation

bool lti::lvq::randInitFunctor::operator() ( dmatrix weights,
ivector outID 
) [virtual]

initialization operator

Implements lti::stdLayer::initFunctor.


Member Data Documentation

reference matrix to the features

const int& lti::lvq::randInitFunctor::nbNeurObj [protected]

number of neuron per object

const int& lti::lvq::randInitFunctor::nbObj [protected]

number of objects

number of views per object

reference vector to the train IDs


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:26:54 2010 for LTI-Lib by Doxygen 1.6.1