| SOMnn-class | R Documentation |
Objects of type SOMnn can be created by training a self-organising map
with som.nn.train.
nameoptional name of the model.
datetime and date of creation.
codesdata.frame with codebook vectors of the som.
qerrorsum of the mapping errors of the training data.
class.idxcolumn index of column with class labels in input data.
classescharacter vector with names of categories.
class.countsdata.frame with class hits for each neuron.
class.freqsdata.frame with class frequencies for each neuron
(freqs sum up to 1).
normlogical; if TRUE, data is normalised before training and mapping.
Parameters for normalisation of training data is stored in the model and
applied before mapping of test data.
norm.centervector of centers for each column of training data.
norm.scalevector of scale factors for each column of training data.
confusiondata.frame with confusion matrix for training data.
measuresdata.frame with classes as rows and the
columns sensitivity, specificity and accuracy for each class.
accuracyThe overall accuracy calculated based on the confusion matrix cmat:
acc = sum(diag(cmat)) / sum(cmat).
xdimnumber of neurons in x-direction of the som.
ydimnumber of neurons in y-direction of the som.
len.totaltotal number of training steps, performed to create the model.
toroidallogical; if TRUE, the map is toroidal (i.e. borderless).
dist.funfunction; kernel for the kNN classifier.
max.distmaximum distance for the kNN classifier.
strictMinimum vote for the winner (if the winner's vote is smaller than strict,
"unknown" is reported as class label (default = 0.8).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.