Perform variational inference for logistic regression model
1 2 | vb_logistic(X, y, mu0, Sigma0, tol = 1e-08, maxiter = 1000L,
maxiter_jj = 25L, alg = "jj")
|
X |
The design matrix |
y |
The response vector |
mu0 |
The prior mean for beta paramter |
Sigma0 |
The prior variance for beta parameter |
tol |
The tolerance level to assess convergence |
maxiter |
The maximum number of iterations |
maxiter_jj |
The maximum number of Jaakkola-Jordan iterations to initialise estimation |
alg |
The algorithm used for final estimation of variational parameters. Must be one of "jj", "sj", "kmw". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.