#include <Mapcode.h>
Public Methods | |
void | CreateCodebook (int size, int dimension) |
Create codebook with (size) rows and (dimension) columns. | |
void | setNumVar (int) |
Set the number of variables or the dimensionality of the each code vector. | |
int | getNumVar () const |
Get the number of variables or components. | |
void | setTopolParamsText (string str) |
Set the kind of topology of the Map. | |
TopolParams | getTopolParams () |
Get topology params. | |
TMatrix | getClusterLabel () |
Get the cluster label. | |
TMatrix | getCodebook () const |
Get codebook or code vectors. | |
void | setCodebook (TMatrix codebook) |
Set codebook. | |
int | getDimension () const |
Get the dimensionality of the code vector. | |
void | setDimension (int d) |
Set the dimensionality of the code vector. | |
int | getDimensions (int index) const |
Get the dimension of the SOM grade in the (index) axis. | |
void | setDimensions (int index, int value) |
Set the (value) dimension of the SOM grade in the (index) axis. | |
int | getLattice () const |
Get the lattice type of the grade. | |
void | setLattice (int l) |
Set the lattice type of the grade. | |
int | getNeighborType () const |
Get the neighborhood of the SOM. | |
void | setNeighborType (int n) |
Set the neighborhood of the SOM. | |
int | getMapSize () const |
Get the size of the MAP (number of rows in the codebook matrix ). | |
int * | getDimensions () |
Get an vector with the grade dimensions. | |
TLabel | getLabel () |
void | setLabel (TLabel t) |
Set label. | |
void | setLattice (string str) |
Set grade lattice. | |
void | setNeighborType (string str) |
Set neighbor type. |
|
After learning each neuron is associated with one or more ID's data, this is documented in the label matrix |