cavi_plvm | R Documentation |
Coordinate Ascent Variational Inference for the Phylogenetic Latent Variable Model
cavi_plvm( plvm_list, tol = 1e-06, max_iter = 1000, n_samples = 1000, random_seed = NULL, progress_bar = TRUE, perform_checks = TRUE )
plvm_list |
A list defining the PLVM generated by 'initialise_plvm'. |
tol |
A positive real-valued scalar. The required reducting in the ELBO to define convergence, |
max_iter |
A positive integer. The maximum number of iterations that the optimisation procedure swill run. |
n_samples |
A positive integer. The number of samples drawn to esimated expected auxiliary trait values. |
random_seed |
The seed for random number generation. |
progress_bar |
Logical. Should a progress bar be displayed? |
perform_checks |
Logical. Check if function inputs are specified correctly. |
The optimised PLVM and ELBO at each iteration.
initialise_plvm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.