16.5 Uniform Manifold Approximation and Projection (UMAP)

  • Uses distance-based nearest neighbor to find local areas where data points are more likely related.
  • Relationships saved as directed graph w/most points not connected.
  • Create smaller feature set such that graph is well approximated.
library(embed)
bean_rec_trained %>%
  step_umap(all_numeric_predictors(), outcome = "class", num_comp = 4) %>%
  plot_validation_results() +
  ggtitle("Uniform Manifold Approximation and Projection (supervised)")