get_elbo: Get ELBO

View source: R/get_methods.R

get_elboR Documentation

Get ELBO

Description

Extract the value of the ELBO statistics after model training. This can be useful for model selection.

Usage

get_elbo(object)

Arguments

object

a MOFA object.

Details

This can be useful for model selection.

Value

Value of the ELBO

Examples

# Using an existing trained model
file <- system.file("extdata", "model.hdf5", package = "MOFA2")
model <- load_model(file)
elbo <- get_elbo(model)

bioFAM/MOFA2 documentation built on June 12, 2024, 3:57 p.m.