GClasses

GClasses::SOM::NodeWeightInitialization Class Reference

Algorithm to initialize the weights of the nodes in the network before training. More...

#include <GSelfOrganizingMap.h>

Inheritance diagram for GClasses::SOM::NodeWeightInitialization:
GClasses::SOM::NodeWeightInitializationTrainingSetSample

List of all members.

Public Member Functions

virtual void setWeights (std::vector< Node > &nodes, GDistanceMetric &weightDistance, GMatrix *pIn) const =0
 Sets the weights of the nodes in the vector nodes according to this algorithm, assuming the network will be trained on the data from pIn. Also sets weightDistance's relation attribute according to the relation for the matrix.
virtual ~NodeWeightInitialization ()
 Virtual destructor for good memory hygiene.

Detailed Description

Algorithm to initialize the weights of the nodes in the network before training.


Constructor & Destructor Documentation

virtual GClasses::SOM::NodeWeightInitialization::~NodeWeightInitialization ( ) [inline, virtual]

Virtual destructor for good memory hygiene.


Member Function Documentation

virtual void GClasses::SOM::NodeWeightInitialization::setWeights ( std::vector< Node > &  nodes,
GDistanceMetric weightDistance,
GMatrix pIn 
) const [pure virtual]

Sets the weights of the nodes in the vector nodes according to this algorithm, assuming the network will be trained on the data from pIn. Also sets weightDistance's relation attribute according to the relation for the matrix.

Implemented in GClasses::SOM::NodeWeightInitializationTrainingSetSample.