Plot a cluster posterior similarity matrix
plot.dpmixgpd_cluster_psm.RdHeatmap of pairwise posterior co-clustering probabilities.
Details
The heatmap visualizes the matrix $$ \mathrm{PSM}_{ij} \approx \frac{1}{S} \sum_{s=1}^S I(z_i^{(s)} = z_j^{(s)}), $$ so larger values indicate pairs of observations that are stably allocated to the same cluster over the retained posterior draws.
Because the PSM is an \(n \times n\) object, plotting and even storing it
becomes expensive for large n. The psm_max_n argument is therefore a
deliberate guard against accidental quadratic memory use.
See also
predict.dpmixgpd_cluster_fit(), summary.dpmixgpd_cluster_psm(),
plot.dpmixgpd_cluster_fit().
Other cluster workflow:
dpmgpd.cluster(),
dpmix.cluster(),
plot.dpmixgpd_cluster_bundle(),
plot.dpmixgpd_cluster_fit(),
plot.dpmixgpd_cluster_labels(),
predict.dpmixgpd_cluster_fit(),
print.dpmixgpd_cluster_bundle(),
print.dpmixgpd_cluster_fit(),
print.dpmixgpd_cluster_labels(),
print.dpmixgpd_cluster_psm(),
summary.dpmixgpd_cluster_bundle(),
summary.dpmixgpd_cluster_fit(),
summary.dpmixgpd_cluster_labels(),
summary.dpmixgpd_cluster_psm()