View source: R/adaptive_simulated_annealing.R
adaptive.simulated.annealing | R Documentation |
structure learning using adaptive simulated annealing
adaptive.simulated.annealing( poset, obs, times = NULL, lambda.s = 1, weights = NULL, L, sampling = c("forward", "add-remove", "backward", "bernoulli", "pool"), max.iter = 100L, update.step.size = 20L, tol = 0.001, max.lambda.val = 1e+06, T0 = 50, adap.rate = 0.3, acceptance.rate = NULL, step.size = NULL, max.iter.asa = 10000L, neighborhood.dist = 1L, adaptive = TRUE, outdir = NULL, thrds = 1L, verbose = FALSE, seed = NULL )
poset |
a matrix containing the cover relations |
obs |
a matrix of observations, where each row correponds to a
vector indicating whether an event has been observed ( |
times |
an optional vector of sampling times per observation |
lambda.s |
rate of the sampling process. Defaults to |
weights |
a vector containing observation weights |
L |
number of samples to be drawn from the proposal in the E-step |
sampling |
sampling scheme to generate hidden genotypes, |
max.iter |
the maximum number of EM iterations. Defaults to |
update.step.size |
number of EM steps after which the number of
samples, |
tol |
convergence tolerance for the error rate and the rate parameters.
The EM runs until the difference between the average estimates in the last
two batches is smaller than tol, or until |
max.lambda.val |
an optional upper bound on the value of the rate
parameters. Defaults to |
T0 |
inital value of the temperature. Defaults to |
adap.rate |
an optional argument specifying the constant adaptation
rate. Defaults to |
acceptance.rate |
an optional argument specifying a desirable
acceptance rate. Defaults to 1/ |
step.size |
an optional argument indicating the number or iterations
after which the temperature should be updated. Defaults to |
max.iter.asa |
the maximum number of iterations. Defaults to
|
neighborhood.dist |
an integer value indicating the Hamming distance
between the observation and the samples generated by |
adaptive |
a boolean variable indicating whether to use an adaptive annealing schedule |
outdir |
an optional argument indicating the path to the output directory |
thrds |
number of threads for parallel execution |
verbose |
an optional argument indicating whether to output logging information |
seed |
seed for reproducibility |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.