ClusterTools Contents

ClusterTools User Guide

clust2proto

CLUST2PROTO

Find prototypes from given clustering

    LAB_OUT = CLUST2PROTO(LABC,A,TYPE)
    LAB_OUT = LABC*CLUST2PROTO(A,TYPE)
    LAB_OUT = CLUST2PROTO(A)

Input
 LABC Index array, size [M,K], indices of cluster prototypes for M objects in K clusterings.
 A M x K PRTools dataset or double array
 TYPE String indicating type of desired prototypes:  'medoids' (default) or 'centres'

Output
 LAB_OUT Vector with set of M indices pointing to the nearest  prototype for every object in A.

Description

By this routine cluster labels of a dataset A are replaced by the indices  of the mediods or the centres of these clusters. In case LAB_IN is not  given A should be a PRTools dataset and its labels are interpreted as the  cluster labels.

See also

mappings, cluste, clustf, clusth, clustk, clustkh, clustm, meanshift, modeclust, modeclustf,

ClusterTools Contents

ClusterTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.