Closed GoogleCodeExporter closed 9 years ago
This is fixed in revision 239 (1.30 branch and trunk).
When class labels in a specified test set don't match any in the training set,
instead of reassigning them to the unknown class (class 0), the class
assignments are kept as read. Instead, a map of training set class indexes is
kept in the test set (train_class array). This array is allocated and
populated in wndchrm.cpp. The sample class is determined from this array in
ClassifyImage, or, if the array is NULL, it is assumed that the indexes match
b/w the test and train set.
If the array is not NULL, and the test label has no match, then the class index
is 0 (unknown class).
Original comment by i...@cathilya.org
on 20 May 2011 at 8:53
Original issue reported on code.google.com by
dmarkeck...@gmail.com
on 20 May 2011 at 4:11Attachments: