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

lti::lvq::maxDistInitFunctor Class Reference

maximum distance initialization More...

#include <ltiLvq.h>

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

List of all members.

Public Member Functions

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

Protected Attributes

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

Detailed Description

maximum distance initialization


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

initialization operator

Implements lti::stdLayer::initFunctor.


Member Data Documentation

reference to the matrix with the feature vectors

number of neurons per object

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

number of objects

vector with the number of views per objectd

norm

vector with the train IDs


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

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