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:- mycrosstab Cross tabulation table for vectors X,Y
- ctree Class implementing cluster hierarchy in tree data structure
Generated on Tue 17-Jul-2018 18:58:09 by m2html © 2005