uni_em
.Objective function optimized by uni_em
.
uni_obj(pivec, weight_vec, lmat, lambda)
The current parameters.
A vector of weights. Each element of weight_vec
corresponds
to a column of lmat
.
A matrix of inner weights. The columns are the "individuals" and the rows are the "classes."
The penalty on the pi's. Should be greater than 0 and really really small.
The objective optimized by uni_em
during
that separate unimodal EM algorithm.