update.top2vec {doc2vec} | R Documentation |
Update a Top2vec model by updating the UMAP dimension reduction together with the HDBSCAN clustering or update only the HDBSCAN clustering
## S3 method for class 'top2vec'
update(
object,
type = c("umap", "hdbscan"),
umap = object$umap_FUN,
trace = FALSE,
...
)
object |
an object of class |
type |
a character string indicating what to udpate. Either 'umap' or 'hdbscan' where the former (type = 'umap') indicates to update the umap as well as the hdbscan procedure and the latter (type = 'hdbscan') indicates to update only the hdbscan step. |
umap |
see |
trace |
logical indicating to print evolution of the algorithm |
... |
further arguments either passed on to |
an updated top2vec object
# For an example, look at the documentation of ?top2vec