get_elbo {MOFA2} | R 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)

[Package MOFA2 version 1.0.1 Index]