Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to classify an object that does not belong to the trained classess using MLP

Hi,

I have a simple question related to CvANN_MLP classifier. I' ve trained a dataset composed of 40 subjects (orl_faces) using FPLBP as feature extraction. (that means there are 40 classes). I want to "recognize " a new subject that is not present in any class. After calling the predict method I can see in the output float matrix some distance values. The maximum value will point to the index of the predicted class (label). But this will point to one of the 40 existing classes. Could you give some hints what thresholds or anything similar , should I use , to decide in this particular case that the subject is unknown. (not present among the 40 subjects)? Note that if the subject has some training images it will be detected - so in this situation there is no issue.

Thanks, Radu