This function facilitates setting options for the acmap optimizer process by returning a list of option settings.
RacOptimizer.options(
dim_annealing = FALSE,
method = "L-BFGS",
maxit = 1000,
num_basis = 10,
armijo_constant = 1e-04,
wolfe = 0.9,
min_gradient_norm = 1e-06,
factr = 1e-15,
max_line_search_trials = 50,
min_step = 1e-20,
max_step = 1e+20,
num_cores = getOption("RacOptimizer.num_cores"),
report_progress = NULL,
ignore_disconnected = FALSE,
progress_bar_length = options()$width
)
Should dimensional annealing be performed
The optimization method to use
The maximum number of iterations to use in the optimizer
Number of memory points to be stored (default 10).
Controls the accuracy of the line search routine for determining the Armijo condition.
Parameter for detecting the Wolfe condition.
Minimum gradient norm required to continue the optimization.
Minimum relative function value decrease to continue the optimization.
The maximum number of trials for the line search (before giving up).
The minimum step of the line search.
The maximum step of the line search.
The number of cores to run in parallel when running optimizations
Should progress be reported
Should the check for disconnected points be skipped
Progress bar length when progress is reported
Returns a named list of optimizer options
For more details, for example on "dimensional annealing" see
vignette("intro-to-antigenic-cartography")
. For details on optimizer
settings like maxit
see the underlying optimizer documentation at
ensmallen.org.
Other map optimization functions:
make.acmap()
,
moveTrappedPoints()
,
optimizeMap()
,
randomizeCoords()
,
relaxMapOneStep()
,
relaxMap()