purity

PURPOSE

Computes purity (misclassification rate) of cluster assignment

SYNOPSIS

function out = purity(clusters, trueLabels)

DESCRIPTION

Computes purity (misclassification rate) of cluster assignment
OUT = PURITY(CLUSTERS, TRUELABELS)

 Inputs:
    (CLUSTERS): Estimated cluster assignment
    (TRUELABELS): True cluster assignment

 Output:
    (OUT): Purity

CROSS-REFERENCE INFORMATION

This function calls: This function is called by:
Generated on Tue 17-Jul-2018 18:58:09 by m2html © 2005