Learn R Programming

umap (version 0.2.4.1)

optimize_embedding: run a series of epochs of the umap optimization

Description

run a series of epochs of the umap optimization

Usage

optimize_embedding(embedding, pairs, eps, epns, abg, alpha0, num_epochs)

Arguments

embedding

matrix with embedding coordinates (This should be transpose of final embedding, with coordinates along columns, items in rows)

pairs

matrix with two columns; rows should linke to (from, to); indexes 0-based

eps

numeric vector, epochs for next sample

epns

numeric vector, epochs for next negative sample

abg

vector with configuration parameters, a, b, gamma, move_other

alpha0

numeric, initial learning rate