Description Usage Arguments Details Value Author(s) See Also Examples
Predict the neuron where a new observation is classified
1 2 |
object |
a |
x.new |
a new observation (optional). Default values is NULL which corresponds to performing prediction on the training dataset. |
... |
not used. |
radius |
current radius used to perform soft affectation (when
|
The number of columns of the new observations (or its length if only
one observation is provided) must match the number of columns of the data set
given to the SOM algorithm (see trainSOM
).
predict.somRes
returns the number of the neuron to which the
new observation is assigned (i.e., neuron with the closest prototype).
When the algorithm's type is "korresp"
, x.new
must be the
original contingency table passed to the algorithm.
Jérome Mariette jerome.mariette@inrae.fr
Madalina Olteanu olteanu@ceremade.dauphine.fr
Fabrice Rossi fabrice.rossi@apiacoa.org
Nathalie Vialaneix nathalie.vialaneix@inrae.fr
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.