som_initR {SOMEnv} | R Documentation |
Calculate initialization matrix for SOM training
Description
Generate SOM map initialization matrix according to Vesanto heuristic rules related to map dimensions, the first two eigenvalues of the experimental data and their related eigenvectors The function has been coded in R code starting from som_init.m script present in somtoolbox for Matlab by Vesanto and adapted for the use in the shiny app
Usage
som_initR(dataset, Row, Col, munits)
Arguments
dataset |
Experimental data |
Row |
Number of SOM map rows |
Col |
Number of SOM map columns |
munits |
Number of SOM map units (Row*Col) |
Value
This function returns an initialization matrix for SOM training
Author(s)
Sabina Licen, Pierluigi Barbieri
References
J. Vesanto, J. Himberg, E. Alhoniemi, J. Parhankagas, SOM Toolbox for Matlab 5, Report A57, 2000, Available at: www.cis.hut.fi/projects/somtoolbox/package/papers/techrep.pdf
Examples
SOMdim<-som_dimR(iris[,1:4], type="small")
SOMinit<-som_initR(iris[,1:4],SOMdim$Row,SOMdim$Col,SOMdim$munits)
[Package SOMEnv version 1.1.2 Index]