Skip to contents

Spectral clustering from a distance matrix

Usage

spectral_from_dist(D, k, affinity_method = "selftune")

Arguments

D

A distance matrix

k

Number of clusters

affinity_method

Method to build affinity

Value

A vector of cluster labels