kzwkt / wnd-charm

Automatically exported from code.google.com/p/wnd-charm
0 stars 0 forks source link

divide by number of samples per class if using unbalanced classifier #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

in TrainingSet::classify2() line 2172, work out the logic so that the 
similarity value is divided by the number of classes IFF the classes are 
unbalanced with respect to number of images in the training set. You will need 
to pass in a flag to classify2() to indicate if this is the case (maybe?)

Original issue reported on code.google.com by christop...@nih.gov on 18 Feb 2011 at 5:50

GoogleCodeExporter commented 9 years ago

Original comment by christop...@nih.gov on 23 Feb 2011 at 4:36