map.fitted {popsom7}R Documentation

Fit Observations

Description

Computes a vector of labels assigned to each of the observations in the training data through the constructed cluster model. If the training data is unlabeled then machine-generated labels are used.

Usage

map.fitted(map)

Arguments

map

An object of type 'map'.

Value

A vector of predicted labels, one for each observations in the training data.

Author(s)

Lutz Hamel

Examples

data(iris)

df <- subset(iris,select=-Species)
labels <- subset(iris,select=Species)

m <- map.build(df,labels,xdim=15,ydim=10,train=10000)

map.fitted(m)

[Package popsom7 version 7.1.0 Index]