Learn R Programming

rtemis (version 0.79)

d.UMAP: Uniform Manifold Approximation and Projection

Description

Perform UMAP decomposition using github package jlmelville/uwot

Usage

d.UMAP(x, x.test = NULL, k = 2, n.neighbors = 15,
  init = "spectral", metric = c("euclidean", "cosine", "manhattan",
  "hamming", "categorical"), epochs = NULL, learning.rate = 1,
  scale = TRUE, verbose = TRUE, ...)

Arguments

x

Input matrix

x.test

Optional test set matrix. Will be projected on to UMAP bases

k

Integer: Number of projections

n.neighbors

Integer: Number of keighbors

init

String: Initialization type. See uwot::umap "init"

metric

String: Distance metric to use: "euclidean", "cosine", "manhattan", "hamming", "categorical" Default = "euclidean"

epochs

Integer: Number of epochs

learning.rate

Float: Learning rate. Default = 1

scale

Logical: If TRUE, scale input data before doing UMAP. Default = TRUE

verbose

Logical: If TRUE, print messages to screen. Default = TRUE

...

Additional parameters to be passed to uwot::umap

Value

rtDecom object

See Also

Other Decomposition: d.CUR, d.H2OAE, d.H2OGLRM, d.ICA, d.ISOMAP, d.KPCA, d.LLE, d.MDS, d.NMF, d.PCA, d.SPCA, d.SVD, d.TSNE