fitted.som: Extract som Fitted Values

Description Usage Arguments Value Author(s) References See Also Examples

Description

The fitted values for the som object are extracted. This is a method for the fitted generic function for objects of class som.

Usage

1
fitted.som(object)

Arguments

object

a som object

Value

a vector with the fitted values.

Author(s)

David Gohel

References

~put references to the literature/web site here ~

See Also

som learn learnBatch plot.som summary.som predict.som biplot.som

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(MASS)
lcrabs <- log(crabs[, 4:8])

lcrabs.som <- som ( formula = ~ . , data = lcrabs
	, neighborhood = "uniform"
	, grid = grid ( xdim = 10 , ydim = 10 , type = "hexagonal" ) 
	, weights.min = min (lcrabs), weights.max = max (lcrabs)
	)
lcrabs.som <- learn( lcrabs.som , number.iter = 500 , max.alpha = 0.5, min.alpha = .001, max.rayon = 3 , step.eval.si = 50)

fitted ( lcrabs.som )

harrysouthworth/kohonen documentation built on May 17, 2019, 3:03 p.m.