cluster_error: Compute clustering assignment error 'cluster_error' computes...

Description Usage Arguments Value Author(s)

View source: R/utils.R

OE = ∑_{n=1}^{N}(I(LT_{n} \neq LP_{n})) / N

Description

Compute clustering assignment error

cluster_error computes the clustering assignment error, i.e. the average number of incorrect cluster assignments:

OE = ∑_{n=1}^{N}(I(LT_{n} \neq LP_{n})) / N

Usage

1
cluster_error(C_true, C_post)

Arguments

C_true

True cluster assignemnts.

C_post

Posterior mean of predicted cluster assignemnts.

Value

The clustering assignment error

Author(s)

C.A.Kapourani C.A.Kapourani@ed.ac.uk


Melissa documentation built on Nov. 8, 2020, 5:37 p.m.