compute_plvm_elbo: PLVM ELBO

View source: R/elbo.R

compute_plvm_elboR Documentation

PLVM ELBO

Description

Compute the Evidence Lower Bound (ELBO) for a specific a PLVM.Ê

Usage

compute_plvm_elbo(
  plvm_list,
  n_samples = 1000,
  random_seed = NULL,
  perform_checks = TRUE
)

Arguments

plvm_list

A list defining the Phylogenetic Latent variable Model

n_samples

A positive integer. The number of independent samples drawn to obtain the Monte Carlo estimate.

random_seed

A single value, interpreted as an integer, or NULL.

perform_checks

Logical. Check if function inputs are specified correctly.

Value

A scalar. The Evidence Lower Bound for a given Phylogenetic Latent Variable Model

See Also

initialise_plvm


jpmeagher/vbar documentation built on Nov. 22, 2022, 5:48 a.m.