| PRTools contents |
TESTD
[E,C] = TESTD(A,W)
[E,C] = TESTD(A*W)
E = A*W*TESTD
| Input | |
| A | Dataset |
| W | Classifier |
| Output | |
| E | Fraction of labeled objects in A that is erroneously classified |
| C | Vector with numbers of erroneously classified objects per class. They are sorted according to A.LABLIST |
This routine performs a straightforward testing of the labeled objects in A by the classifier W. Unlabeled objects are neglected. Just a fraction of the erroneously classified objects is returned. Not all classes have to be present in A and class priors are neglected. TESTD thereby essentially differs from TESTC which tests the classifier instead of the dataset. Labels found for the individual objects by the classifier W may be retrieved by LABELD
datasets, mappings, testd, labeld,
| PRTools contents |