View source: R/params-generated.R
| params_pacmap | R Documentation |
Wrapper function to generate PaCMAP parameters
params_pacmap(
n_near = 10L,
n_mid_near = 5L,
n_further = 20L,
mn_candidate_start = 4L,
mn_candidate_end = 50L,
init = c("pca", "random"),
optimiser = c("adam_parallel", "adam"),
lr = 1,
n_epochs = NULL,
beta1 = 0.9,
beta2 = 0.999,
eps = 1e-07,
phase1_end = NULL,
phase2_end = NULL
)
n_near |
Integer. Near pairs per point (attractive). Defaults to |
n_mid_near |
Integer. Mid-near pairs per point. Defaults to |
n_further |
Integer. Further (random) pairs per point. Defaults to
|
mn_candidate_start |
Integer. Start index into kNN list for mid-near
candidate window. Defaults to |
mn_candidate_end |
Integer. End index into kNN list for mid-near
candidate window. Also determines the kNN search size. Defaults to |
init |
String. Embedding initialisation. One of |
optimiser |
String. The optimiser. One of |
lr |
Numeric. Adam learning rate. Defaults to |
n_epochs |
Integer or |
beta1 |
Numeric. Adam first moment decay. Defaults to |
beta2 |
Numeric. Adam second moment decay. Defaults to |
eps |
Numeric. Adam numerical stability constant. Defaults to |
phase1_end |
Integer or |
phase2_end |
Integer or |
A named list with the following elements:
n_near - Integer. Near pairs per point (attractive). Defaults to
10L.
n_mid_near - Integer. Mid-near pairs per point. Defaults to 5L.
n_further - Integer. Further (random) pairs per point. Defaults to
20L.
mn_candidate_start - Integer. Start index into kNN list for mid-near
candidate window. Defaults to 4L.
mn_candidate_end - Integer. End index into kNN list for mid-near
candidate window. Also determines the kNN search size. Defaults to 50L.
init - String. Embedding initialisation. One of c("pca", "random").
Defaults to "pca".
optimiser - String. The optimiser. One of c("adam_parallel", "adam"). Defaults to "adam_parallel".
lr - Numeric. Adam learning rate. Defaults to 1.0.
n_epochs - Integer or NULL. Total optimisation epochs. If NULL,
resolved downstream to 450. Defaults to NULL.
beta1 - Numeric. Adam first moment decay. Defaults to 0.9.
beta2 - Numeric. Adam second moment decay. Defaults to 0.999.
eps - Numeric. Adam numerical stability constant. Defaults to 1e-07.
phase1_end - Integer or NULL. Epoch at which phase 1 ends. If
NULL, resolved downstream to 100. Defaults to NULL.
phase2_end - Integer or NULL. Epoch at which phase 2 ends. If
NULL, resolved downstream to 200. Defaults to NULL.
params_pacmap()
params_pacmap(n_near = 15L, n_further = 30L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.