Skip to contents

Update mean-field variational inference for a normal linear model.

Usage

update_vb_lm(vb_fit, X, y, tol = 1e-08, maxiter = 100L, verbose = FALSE)

Arguments

vb_fit

A previous fit

X

The new design matrix

y

The new response vector

tol

Tolerance for convergence of the elbo

maxiter

Maximum number of iterations allowed

verbose

Print trace of the lower bound to console. Default is FALSE.

Value

v A list of relevant outputs