PRTools Contents

PRTools User Guide

labcmp

LABCMP

Compare label sets

   [JNE,JEQ] = LABCMP(LABELS1,LABELS2)

Input
 LABELS1 list of labels (strings or numeric)
 LABELS2 list of labels (strings or numeric)

Output
 JNE Indices of non-matching labels
 JEQ indices of matching labels

Description

The comparison of two label sets is particular useful to find  erroneaously classified objects. For example, if W is a trained  classifier and A a labeled testset, then the estimated labels are  given by LAB_EST = A*W*LABELD, while the true labels can be found  by LAB_TRUE = GETLABELS(A). The erroneously and correctly classfied  objects can be found by [JNE,JEQ] = LABCMP(LAB_EST,LAB_TRUE).

See also

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.