Point estimate of the partition using a modified Binder loss function
Source:R/cluster_est_Mbinder_norm.R
cluster_est_Mbinder_norm.Rd
Get a point estimate of the partition using a modified Binder loss function for Gaussian components
Arguments
- c
a list of vector of length
n
.c[[j]][i]
is the cluster allocation of observationi=1...n
at iterationj=1...N
.- Mu
is a list of length
n
composed ofp x l
matrices. Wherel
is the maximum number of components per partition.- Sigma
is list of length
n
composed of arrays containing a maximum ofl
p x p
covariance matrices.- lambda
is a nonnegative tunning parameter allowing further control over the distance function. Default is 0.
- a
nonnegative constant seen as the unit cost for pairwise misclassification. Default is 1.
- b
nonnegative constant seen as the unit cost for the other kind of pairwise misclassification. Default is 1.
- logposterior
vector of logposterior corresponding to each partition from
c
used to break ties when minimizing the cost function
Value
a list
:
c_est
:a vector of length
n
. Point estimate of the partitioncost
:a vector of length
N
.cost[j]
is the cost associated to partitionc[[j]]
similarity
:matrix of size
n x n
. Similarity matrix (seesimilarityMat
)opt_ind
:the index of the optimal partition among the MCMC iterations.
Details
Note that he current implementation only allows Gaussian components.
The modified Binder loss function takes into account the distance between mixture components using #'the Bhattacharyya distance.