Skip to contents

Perform Saul-Jordan update of variational parameters

Usage

saul_jordan(X, y, eta1, eta2, eta1_p, eta2_p, omega1)

Arguments

X

The design matrix

y

The response vector

eta1

The current value of 1st natural parameter

eta2

The current value of the 2nd natural parameter

eta1_p

The prior value of the 1st natural parameter

eta2_p

The prior value of the 2nd natural parameter

omega1

The current value of the Omega1 variational parameter