otclust: Mean partition by optimal transport anlignment.

Description Usage Arguments Value Examples

Description

This function calculates the mean partition of an ensemble of partitions by optimal transport alignment and uncertainty/stability measures.

Usage

1

Arguments

ensemble

– a matrix of ensemble partition. Use ensemble() to generate an ensemble of perturbed partitions.

idx

– an integer indicating the index of reference partition in ensemble. If not specified, median partition is used as the reference partition.

Value

a list of mean partition(meanpart), distance of mean partition to other partitions in ensemble(distance), weight matrix(weight), topological stability statistics(match), covering point set(cps), cluster alignment and point-based separability(cap).

Examples

1
2
3
4
5
6
data(sim1)
# the number of clusters.
C = 4
ens.data = ensemble(sim1$X, nbs=8, clust_param=C, clustering="kmeans", perturb_method=1)
# find mean partition and uncertainty statistics.
ota = otclust(ens.data)

OTclust documentation built on May 6, 2019, 9 a.m.