cluster_est_pear: Gets a point estimate of the partition using posterior...

View source: R/cluster_est_pear.R

cluster_est_pearR Documentation

Gets a point estimate of the partition using posterior expected adjusted Rand index (PEAR)

Description

Gets a point estimate of the partition using posterior expected adjusted Rand index (PEAR)

Usage

cluster_est_pear(c)

Arguments

c

a list of vector of length n. c[[j]][i] is the cluster allocation of observation i=1...n at iteration j=1...N.

Value

a list:

c_est:

a vector of length n. Point estimate of the partition

pear:

a vector of length N. pear[j] is the posterior expected adjusted Rand index associated to partition c[[j]]

similarity:

matrix of size n x n. Similarity matrix (see similarityMat)

opt_ind:

the index of the optimal partition among the MCMC iterations.

Author(s)

Chariff Alkhassim

References

A. Fritsch, K. Ickstadt. Improved Criteria for Clustering Based on the Posterior Similarity Matrix, in Bayesian Analysis, Vol.4 : p.367-392 (2009)

See Also

similarityMat similarityMatC


borishejblum/NPflow documentation built on Feb. 2, 2024, 1:51 a.m.