19 #include <raft/core/handle.hpp>
20 #include <raft/distance/distance_types.hpp>
21 #include <raft/sparse/hierarchy/common.h>
48 raft::hierarchy::linkage_output<int>* out,
49 raft::distance::DistanceType metric,
72 const raft::handle_t& handle,
76 raft::hierarchy::linkage_output<int>* out,
77 raft::distance::DistanceType metric = raft::distance::DistanceType::L2Unexpanded,
85 raft::hierarchy::linkage_output<int64_t>* out,
86 raft::distance::DistanceType metric,
Definition: dbscan.hpp:30
void single_linkage_pairwise(const raft::handle_t &handle, const float *X, size_t m, size_t n, raft::hierarchy::linkage_output< int > *out, raft::distance::DistanceType metric, int n_clusters=5)
Computes single-linkage hierarchical clustering on a dense input feature matrix and outputs the label...
void single_linkage_neighbors(const raft::handle_t &handle, const float *X, size_t m, size_t n, raft::hierarchy::linkage_output< int > *out, raft::distance::DistanceType metric=raft::distance::DistanceType::L2Unexpanded, int c=15, int n_clusters=5)
Computes single-linkage hierarchical clustering on a dense input feature matrix and outputs the label...
Definition: dbscan.hpp:26