GClasses
|
Algorithm to initialize the weights of the nodes in the network before training.
#include <GSelfOrganizingMap.h>
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... | |
|
inlinevirtual |
Virtual destructor for good memory hygiene.
|
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.