calls the specified kernel for som training.
som.nn.run.kernel(
data,
classes = "no classes",
kernel = c("internal", "SOM"),
xdim,
ydim,
len = 100,
alpha = 0.05,
radius = 1,
init,
toroidal = FALSE
)
list with elements \code{codes} and \code{grid}.
numeric
matrix or data.frame with training data.
Only numeric columns of data.frame are used for training.
character
vector with class labels (only necessary for
supervised training kernels).
kernel to be used
number of neurons in x
number of neurons in y
number of steps to be trained (steps - not epochs!).
initial learning rate (decreased to 0).
initial radius (decreased to 1).
numeric
matrix or data.frame with codes for initialisation.
true if doughnut-shaped som.