PRTools Contents

PRTools User Guide

labeld

LABELD

Fixed mapping finding labels of classification dataset

(perform crisp classification)

    LABELS = LABELD(A,W)
    LABELS = A*W*LABELD
    LABELS = LABELD(A*W,THRESH)
    LABELS = A*W*LABELD(THRESH)
    LABELS = LABELD(A,W,THRESH)

Input
 A Dataset
 W Trained classifier
 THRESH Rejection threshold

Output
 LABELS List of labels

Description

Returns the labels of the classification dataset Z=A*W. For each object  in Z (i.e. each row) the feature label or class label (i.e. the column  label) of the maximum column value is returned.

Effectively, this performs the classification. It can also be considered  as a conversion from soft labels (posteriors) stored in Z to crisp labels.

When the parameter THRESH is supplied, then all objects which  classifier output falls below this value are rejected. The returned  label is then NaN or a string with spaces (depending if the labels are  numeric or string). Because the output of the classifier is used, it  is recommended to convert the output to a posterior prob. output using

 CLASSC. (David Tax, 27-12-2004)

See also

mappings, datasets, testc, plotc,

PRTools Contents

PRTools User Guide

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