Learn R Programming

Umatrix (version 4.0.1)

umatrixForEsom: umatrixForEsom

Description

Calculate the Umatrix for given ESOM projection

Value

Umatrix

Arguments

Weights

Weights from which the Umatrix will be calculated

Lines

Number of lines of the SOM that is described by weights

Columns

Number of columns of the SOM that is described by weights

Toroid

Boolean describing if the neural grid should be borderless

References

Ultsch, A. and H.P. Siemon, Kohonen's Self Organizing Feature Maps for Exploratory Data Analysis. 1990.

Examples

Run this code
data("Hepta")
e = esomTrain(Hepta$Data, Key = 1:nrow(Hepta$Data))
umatrix = umatrixForEsom(e$Weights,
                         Lines=e$Lines,
                         Columns=e$Columns,
                         Toroid=e$Toroid)
plotMatrix(umatrix,e$BestMatches)

Run the code above in your browser using DataLab