Learn R Programming

mimiSBM (version 0.0.1.3)

VBEM_step: Variational Bayes Expectation Maximization

Description

Variational Bayes Expectation Maximization

Usage

VBEM_step(A, params, alternate = TRUE, eps_conv = 0.001)

Value

params with updated parameters.

Arguments

A

an array of dim=c(N,N,V)

params

list of parameters of the model

alternate

boolean indicated if we put an M-step after each part of the E-step, after u optimization and after tau optimization. If not, we optimize u and tau and after the M-step is made.

eps_conv

parameter of convergence for tau.