Description Usage Arguments Value Author(s) References Examples
This function implements the batch version of the kohonen algorithm
1 2 3 4 |
data |
data to be used |
grid |
a grid for the representatives.The numbers of nodes should be approximately equal to 5*sqrt(n), which n denotes the number of sample. |
min.radius |
the minimum neighbourhood radius |
max.radius |
the maximum neighbourhood radius |
maxit |
the maximum number of iterations to be done |
init |
the method to be used to initialize the prototypes.The following
are permitted:
|
radius.type |
the neighborhood function type. The following are permitted:
|
classif |
a vector of integer indicating to which unit each observation has been assigned |
codes |
a matrix of code vectors |
grid |
the grid, an object of class "somgrid" |
Sarra Chair and Malika Charrad
Kohonen, T. (1995) Self-Organizing Maps. Springer-Verlag.
Brian Ripley, William Venables (2015), class: Functions for Classification,
URL https://cran.r-project.org/package=class.
Jun Yan (2010), som: Self-Organizing Map, URL https://cran.r-project.org/package=som.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.