Description Usage Arguments Details Author(s) Examples
View source: R/oppe_report_plt_funtions.R
Using the uwot
library we visualize the UMAP: Uniform Manifold
Approximation and Projection for Dimension Reduction. https://arxiv.org/abs/1802.03426
UMAP (Uniform Manifold Approximation and Projection) is a novel manifold learning technique for dimension reduction. UMAP is constructed from a theoretical framework based in Riemannian geometry and algebraic topology. The result is a practical scalable algorithm that applies to real world data. The UMAP algorithm is competitive with t-SNE for visualization quality, and arguably preserves more of the global structure with superior run time performance. Furthermore, UMAP has no computational restrictions on embedding dimension, making it viable as a general purpose dimension reduction technique for machine learning.
1 | oppe_cpoe_umap_plt(.data, .point_size = 2)
|
.data |
Takes data from the |
.point_size |
The size of the |
Requires the user item table/matrix that is output from the oppe_cpoe_user_item_tbl()
function.
Steven P. Sanderson II, MPH
1 2 3 4 5 6 7 8 9 10 | ui_tbl <- oppe_cpoe_query() %>%
oppe_cpoe_tbl() %>%
oppe_cpoe_user_item_tbl()
km_map_tbl <- kmeans_mapped_tbl(ui_tbl)
kmeans_scree_plt(km_map_tbl)
umap_obj <- oppe_cpoe_umap(ui_tbl, km_map_tbl, 3)
oppe_cpoe_umap_plt(umap_obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.