Skip to content

Commit 37e9c2e

Browse files
committed
Let's see more algos
1 parent a84dc9b commit 37e9c2e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/maximal_clustering.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ fn main() {
2626

2727
// Customize clustering settings for DBSCAN
2828
let settings = ClusteringSettings::default()
29-
.with_algorithm(ClusteringAlgorithmName::KMeans)
29+
.with_algorithms(vec![
30+
ClusteringAlgorithmName::KMeans,
31+
ClusteringAlgorithmName::Agglomerative,
32+
ClusteringAlgorithmName::DBSCAN,
33+
])
3034
.with_k(3)
3135
.verbose(true);
3236

0 commit comments

Comments
 (0)