Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SOM Class Reference

#include <Som.h>

List of all members.

Public Methods

 SOM (NetParams n)
 Constructor.

 SOM ()
 Constructor.

 ~SOM ()
 Destructor.

void Quality ()
 Calculate the quantization and topological erros.

int AutomaticParametrization ()
 Determine automaticaly some initial params.

void Learning ()
 Call the leraning algorithm.

void InitMapcode ()
 Call the code vectors initialization.

Value_Type getQuantizationError ()
 Get the quantization error.

Value_Type getTopologicalError ()
 Get the topological error.

void Labeling ()
 Label echa neuron with associated ID's data.

void setParams (NetParams n)
 Set initial params.

void setMapcode (Mapcode *mapcode)
 Set Mapacode.

void setData (SOMData *data)
 Set Data.

void setDelta (TMatrix delta)
 Set Delta.

TMatrix getDelta () const
 Get Delta.

MapcodegetMapcode () const
 Get Mapcode.

SOMDatagetData () const
 Get data.

int getNumIterations ()
 Get the number of epochs for the learnig.

void setNumIterations (int i)
 Set the number of epochs for the learnig.

int getInitType ()
 Get the type for init the code vectors.

void setInitType (int init)
 Set the type for init the code vectors.

Value_Type getInitLearningRate ()
 Get the init value for the learning rate.

void setInitLearningRate (Value_Type init_rate)
 Set the init value for the learning rate.

Value_Type getInitNeighbor ()
 Get init value for the neigbor value radius.

void setInitNeighbor (Value_Type init_neighbor)
 Set init value for the neigbor value radius.

int getLearningType ()
 Get learning type.

void setLearningType (int t)
 Set learning type.

void setLearnType (string str)
 Set learning type.

string getLearnType ()
 Get learning type.

vector< int > getNeighbors (int i)
 Get the index of the neigbors of the i neuron.


Detailed Description

Implements the SOM basic routines and encapsulate the SOM params.

Kohonen, Teuvo. "Self-Organizing Maps", Third Edition, Springer, 2001.

Author:
Marcos Aurélio Silva


The documentation for this class was generated from the following files:
Generated on Thu Apr 8 15:04:12 2004 for SOMCode by doxygen1.2.18