analyzePareto: Analyze the Pareto-optimal cluster sizes

Description Usage Arguments Value Examples

View source: R/core.R

Description

Computes the set of Pareto-optimal cluster sizes in obj according to the values of the cluster validation indices. A ranking of optimal cluster sizes and a table illustrating the ranking of solutions are returned.

Usage

1

Arguments

obj

A matrix returned by mocca in its objectiveVals component. This matrix contains the values of several cluster validation indices for different cluster algorithms and different cluster sizes.

Value

A list with the following components

rank

A vector containing the ranking of the Pareto-optimal cluster sizes.

table

A table specifying the ranking of Pareto-optimal cluster sizes. Each row is associated with a particular Pareto-optimal cluster size. Its entries specify in how many objective functions it dominates clusterings of other cluster sizes. The Pareto-optimal cluster sizes are ranked by the minimum number of objectives in which they dominate other cluster sizes.

Examples

1
2
3
4
set.seed(12345)
data(toy5)
obj <- mocca(toy5, R=10, K=2:5)
print(analyzePareto(obj$objectiveVals))

Example output

Loading required package: cclust
Loading required package: clv
Loading required package: cluster
Loading required package: class
generating subsets
running cluster algorithms
running evaluation
collecting objective values
$rank
[1] 5 3 4

$table
   2 3 4 5
3 11 0 4 4
4 10 8 0 4
5  9 8 8 0

MOCCA documentation built on March 17, 2020, 5:10 p.m.