purity: Calculate the purity of a clustering

Description Usage Arguments Value

Description

Calculate the purity of a clustering

Usage

1
purity(cl_true, cl_other, ignore_class = NULL)

Arguments

cl_true

The true classes of a dataset

cl_other

A clustering results

ignore_class

A class index to ignore, e.g., if trimming was used.

Value

A matrix with statistics.


bwrc/corecluster-r documentation built on May 13, 2019, 9:12 a.m.