Namespaces | Functions
linkage.hpp File Reference
#include <cuml/common/distance_type.hpp>
#include <raft/core/handle.hpp>
Include dependency graph for linkage.hpp:

Go to the source code of this file.

Namespaces

 ML
 
 ML::linkage
 

Functions

void ML::linkage::single_linkage (const raft::handle_t &handle, const float *X, int n_rows, int n_cols, size_t n_clusters, ML::distance::DistanceType metric, int *children, int *labels, bool use_knn=false, int c=15)
 Computes single-linkage hierarchical clustering on a dense input feature matrix and outputs the labels, dendrogram, and minimum spanning tree. More...