cluster_error {Melissa}R Documentation

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

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

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


[Package Melissa version 1.6.0 Index]