kzwkt / wnd-charm

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

don't try to add the class name "" #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In TrainingSet::ReadFromFile, line 333, should not try to AddClass() if 
buffer is blank.

This does not actually affect code flow WHEN RUNNING CODE IN DEBUG MODE, since 
calling AddClass( "" ) serendipitously has no effect... it looks through the 
empty list of labels and when it sees that "" is there it just returns brcause 
teh "" class is already, quote-unquote, there.

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

GoogleCodeExporter commented 9 years ago
Why would the buffer be blank?
Is this the stop condition for reading class labels (i.e. blank line)?

Original comment by i...@cathilya.org on 18 Feb 2011 at 2:39

GoogleCodeExporter commented 9 years ago

Original comment by i...@cathilya.org on 15 Apr 2011 at 7:02