umap (version 0.2.4.1)

optimize_epoch: run one epoch of the umap optimization

Description

run one epoch of the umap optimization

Usage

optimize_epoch(embedding, pairs, adjust, nns, abg, alpha)

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 link to (from to); indexes 0-based

adjust

vector with 0/1 whether to adjust or not

nns

vector with negative-neighbors-set size

abg

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

alpha

numeric learning rate for this epoch