wccassign: Assign patterns to nodes in a SOM network by WCC value

Description Usage Arguments Value Author(s) See Also Examples

View source: R/wccassign.R

Description

KNN assignment of patterns to units in a Kohonen map, with maximal WCC as the criterion.

Usage

1

Arguments

x

Trained Kohonen map

data

Data matrix

Value

Returns a list with components:

classif

Unit numbers to which rows in the data matrix are assigned

wccs

wcc value of rows in the data matrix and the units to which they are assigned.

Author(s)

Ron Wehrens

See Also

wccsom

Examples

1
2
3
4
5
6
data(cepha)
gr <- somgrid(3,3, "hexagonal")
set.seed(7)
x <- wccsom(cepha$patterns, grid = gr, trwidth = 20, rlen = 50,
            FineTune = FALSE, keep.data = FALSE)
sombins <- wccassign(x, cepha$patterns)

wccsom documentation built on May 30, 2017, 12:52 a.m.

Related to wccassign in wccsom...