Create a data frame of umap components
1 | sm_tidy_umap(x, n = 2, random_state = 1, item_name = "document", ...)
|
x |
the matrix to compute principal components from. |
n |
number of components to compute |
random_state |
integer to set the random state of the algorithm |
item_name |
name to give to the set of rows; defaults to "document" |
... |
other options passed to the umap function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.