wolffd@0: wolffd@0:
wolffd@0:wolffd@0: conffig(y, t) wolffd@0: fh = conffig(y, t)wolffd@0: wolffd@0: wolffd@0:
conffig(y, t)
displays the confusion matrix
wolffd@0: and classification performance for the predictions mat{y}
wolffd@0: compared with the targets t
. The data is assumed to be in a
wolffd@0: 1-of-N encoding, unless there is just one column, when it is assumed to
wolffd@0: be a 2 class problem with a 0-1 encoding. Each row of y
and t
wolffd@0: corresponds to a single example.
wolffd@0:
wolffd@0: In the confusion matrix, the rows represent the true classes and the wolffd@0: columns the predicted classes. wolffd@0: wolffd@0:
fh = conffig(y, t)
also returns the figure handle fh
which
wolffd@0: can be used, for instance, to delete the figure when it is no longer needed.
wolffd@0:
wolffd@0:
confmat
, demtrain
Copyright (c) Ian T Nabney (1996-9) wolffd@0: wolffd@0: wolffd@0: wolffd@0: