binAssign

PURPOSE

Assigns true cluster label (labels) of each observation to the element of the binary partition (clusters = {1,2}^n) that contains the majority of its observations

SYNOPSIS

function out = binAssign(labels, clusters)

DESCRIPTION

Assigns true cluster label (labels) of each observation to the element of the binary partition (clusters = {1,2}^n) that contains the majority of its observations
OUT = BINASSIGN(LABELS, CLUSTERS)

 Inputs: 
    (LABELS): Vector of true cluster labels
    (CLUSTERS): Binary assignment of observations

 Output:
    (OUT): Assignment of each observation to cluster containing 
        majority of observations of its true label

CROSS-REFERENCE INFORMATION

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