Skip to contents

Perform Jaakkola-Jordan update of variational parameters

Usage

jaakkola_jordan(X, y, eta1, eta2, eta1_p, eta2_p)

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