Setup UMAP config.
Usage
setup_UMAP(
k = 2L,
n_neighbors = 15L,
init = "spectral",
metric = "euclidean",
n_epochs = NULL,
learning_rate = 1,
scale = TRUE,
features = NULL
)Arguments
- k
Integer [1, Inf): Number of components.
- n_neighbors
Integer [1, Inf): Number of neighbors.
- init
Character: Initialization type. See
uwot::umap "init".- metric
Character {"euclidean", "cosine", "manhattan", "hamming", "categorical"}: Distance metric.
- n_epochs
Optional Integer [1, Inf): Number of epochs.
- learning_rate
Numeric [0, Inf): Learning rate.
- scale
Logical: If TRUE, scale input data before doing UMAP.
- features
Optional Character vector: Names of at least 2 distinct feature columns to decompose.
NULLdecomposes all numeric features.