View source: R/multivariate_Gaussian_fusion.R
parallel_fusion_multiGaussian | R Documentation |
Generalised Monte Carlo Fusion with multivariate Gaussian target
parallel_fusion_multiGaussian( N, m, time, samples_to_fuse, dim, mu, Sigma, betas, precondition_matrices, seed = NULL, n_cores = parallel::detectCores() )
N |
number of samples |
m |
number of sub-posteriors to combine |
time |
time T for fusion algorithm |
samples_to_fuse |
list of length m, where samples_to_fuse[[c]] contains the samples for the c-th sub-posterior |
dim |
dimension |
mu |
vector of length dim for mean |
Sigma |
dim x dim covariance matrix |
betas |
vector of length c, where betas[c] is the inverse temperature value for c-th posterior |
precondition_matrices |
list of length m, where precondition_matrices[[c]] is the precondition matrix for sub-posterior c |
seed |
seed number - default is NULL, meaning there is no seed |
n_cores |
number of cores to use |
A list with components:
fusion samples
acceptance rate for rho step
acceptance rate for Q step
overall acceptance rate
run-time of fusion sampler
number of iterations for rho step
number of iterations for Q step
list of length dim where precondition_matrices[[2]] are the pre-conditioning matrices that were used and precondition_matrices[[1]] are the combined precondition matrices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.