print.som: Describe a fitted Self-Organising Map

Description Usage Arguments Author(s) See Also Examples

Description

Print and summary methods for Self-Organising Maps. Gives some information on the prior structure of the SOM and the way it was fitted to a dataset.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## S3 method for class 'som'
print(x, ...)
## S3 method for class 'somnum'
print(x, ...)
## S3 method for class 'relationalsom'
print(x, ...)
## S3 method for class 'kernelsom'
print(x, ...)
## S3 method for class 'som'
summary(object, ...)
## S3 method for class 'somnum'
summary(object, ...)
## S3 method for class 'relationalsom'
summary(object, ...)
## S3 method for class 'kernelsom'
summary(object, ...)

Arguments

x,object

an object of class "som"

...

not used

Author(s)

Fabrice Rossi

See Also

batchsom for fitting a SOM to some data, plot.som for a graphical representation.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(iris)
# scaling
data <- scale(iris[1:4])

# a small hexagonal grid
sg <- somgrid(xdim=5,ydim=5,topo="hex")

# fit the SOM
som <- batchsom(data,sg)

# summary
print(som)

yasomi documentation built on May 2, 2019, 5:59 p.m.