#include <Som.h>
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. | |
Mapcode * | getMapcode () const |
Get Mapcode. | |
SOMData * | getData () 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. |
Kohonen, Teuvo. "Self-Organizing Maps", Third Edition, Springer, 2001.