Perform Saul-Jordan update of variational parameters
1 | saul_jordan_n(X, y, n, eta1, eta2, eta1_p, eta2_p, omega1)
|
X |
The design matrix |
y |
The response vector |
n |
The trial 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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.