View source: R/som.nn.multitrain.R
get.border.neurons | R Documentation |
Returns a list of neurons which are on the border between 2 or more classes.
get.border.neurons(p, classes, model, distance = 1.1)
p |
prediction for training data set |
classes |
vector of true class lables for prediction |
model |
Object of class type |
distance |
maximum distance of 2 neurons to be the border. Default 1.1: only direct neighbours. |
The function analyses all pairs of neurons with distance <= distance
.
If samples represented by the pair belong to more than one class, both neurons
are added to the list.
numeric vector with the indices of all border neurons.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.