latest version v1.9 - last update 10 Apr 2010 |
maximum distance initialization More...
#include <ltiLvq.h>
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 dmatrix & | features |
const ivector & | trainIDs |
const ivector & | nbViewsObj |
const int & | nbObj |
const int & | nbNeurObj |
const eNormType & | norm |
maximum distance initialization
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.
initialization operator
Implements lti::stdLayer::initFunctor.
const dmatrix& lti::lvq::maxDistInitFunctor::features [protected] |
reference to the matrix with the feature vectors
const int& lti::lvq::maxDistInitFunctor::nbNeurObj [protected] |
number of neurons per object
const int& lti::lvq::maxDistInitFunctor::nbObj [protected] |
number of objects
const ivector& lti::lvq::maxDistInitFunctor::nbViewsObj [protected] |
vector with the number of views per objectd
const eNormType& lti::lvq::maxDistInitFunctor::norm [protected] |
norm
const ivector& lti::lvq::maxDistInitFunctor::trainIDs [protected] |
vector with the train IDs