Description Usage Arguments References See Also Examples
This function extends the embedding by an HDBSCAN clustering. Note that the
embedding
item is extended by two columns cluster
and membership_prob
of the as optimal identified cut in the hierarchical clustering. The full
HDBSCAN object returned by dbscan::hdbscan()
is returned as well.
1 | cluster(object, min_points = 10)
|
object |
The recurrence embedding object returned by |
min_points |
The |
Leland McInnes, John Healy, Steve Astels. The hdbscan Clustering Library.
Ricardo J.G.B. Campello, Davoud Moulavi, Joerg Sander (2013). Density-Based Clustering Based on Hierarchical Density Estimates, PAKDD 2013, Part II, LNAI 7819, pp. 160-172.
measure()
, embed()
, dbscan::hdbscan()
1 2 3 4 5 6 7 8 9 10 | times <- recur::synthetic
measured <- measure(data = times, size = "triangle", shape = "wide")
embedded <- embed(object = measured)
embedded_and_clustered <- cluster(embedded, min_points = 25)
plot(embedded_and_clustered$embedding$x,
embedded_and_clustered$embedding$y,
col = 1 + embedded_and_clustered$embedding$cluster)
plot(embedded_and_clustered$hdbscan)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.