BNPmix_VI_LB {BNPmix}R Documentation

C++ function - compute the VI lower bound

Description

C++ function - compute the VI lower bound

Arguments

M

a matrix (r x n), r number of replications, n number of observations

psm_mat

a posterior similarity matrix

Examples

{
  M <- matrix(c(1,1,1,2,1,1,2,2,1,1,2,1,1,1,1,2), ncol = 4)
  psmM <- BNPmix_psm(M)
  BNPmix_VI_LB(M, psmM)
}


[Package BNPmix version 1.0.2 Index]