GClasses
GClasses::SOM::NodeWeightInitialization Class Referenceabstract

Detailed Description

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

#include <GSelfOrganizingMap.h>

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

Public Member Functions

virtual ~NodeWeightInitialization ()
 Virtual destructor for good memory hygiene. More...
 
virtual void setWeights (std::vector< Node > &nodes, GDistanceMetric &weightDistance, const 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. More...
 

Constructor & Destructor Documentation

virtual GClasses::SOM::NodeWeightInitialization::~NodeWeightInitialization ( )
inlinevirtual

Virtual destructor for good memory hygiene.

Member Function Documentation

virtual void GClasses::SOM::NodeWeightInitialization::setWeights ( std::vector< Node > &  nodes,
GDistanceMetric weightDistance,
const 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.