Description Usage Arguments Details Value
View source: R/som.nn.visual.R
Maps a sample of unknown category to a self-organising map (SOM) stored in a object of type SOMnn.
1 |
codes |
|
data |
|
The function returns the winner neuron in codes
for
each test vector in x
.
codes
and x
are one vector per row and must have
the same number of columns (i.e. dimensions) and the identical column names.
som.nn.visual
is the work horse for the k-NN-like classifier and normally used
by calling predict
.
data.frame
with 2 columns:
Index of the winner neuron for each row (index starting at 1).
Distance between winner and row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.