map.fitted: Fit Observations

Description Usage Arguments Value Author(s) Examples

View source: R/map-utils.R

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

1

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

1
2
3
4
5
6
7
8
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)

popsom documentation built on Dec. 21, 2021, 1:07 a.m.

Related to map.fitted in popsom...