davies_bouldin: Davies Bouldin Index

Description Usage Arguments Value Examples

View source: R/main.R

Description

Implementation of Davies-Bouldin index to evaluate the quality of CLARA Clustering.

Usage

1
2
3
4
5
6
7
davies_bouldin(
  seq_obj,
  distargs = list(method = "LCS"),
  diss = TRUE,
  plot = TRUE,
  cores = detectCores() - 1
)

Arguments

seq_obj

The object generated with CLARA Clustering

distargs

List with method parameters to apply. (See the function seqdist in TraMineR package)

diss

Boolean to express if the parameter diss from CLARA.seq clustering has been returned (Matrix size must be k columns and n rows - see refseq function from TraMineR package)

plot

Boolean variable to plot the research convergence

cores

Number of cores to use for parallelism

Value

The value of the index

Examples

1
my_index <- davies_bouldin(my_cluster)

Ltochon/CLARA.seq documentation built on Dec. 17, 2021, 1:12 a.m.