Auxiliary function for KNN and IMC algorithms

Share:

Description

Auxiliary function

Usage

1
knnalgorithm(distance, mutual, k)

Arguments

distance

distance matrix

mutual

logical specifying if the connection between neighbors must be mutual

k

maximum order of neighbors

Value

An adjacency matrix is returned.

See Also

sc_GraphBuilderObj(), sc_clusterObj()

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.