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