Patches item #1755857, was opened at 2007-07-17 22:18 Message generated for change (Settings changed) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1755857&group_id=61702
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: David Abrahams (david_abrahams) Assigned to: Skip Montanaro (montanaro) Summary: tte.py Improved ratio handling Initial Comment: If ham and spam are more balanced than the ratio argument (e.g. ratio is 2:1 and spam and ham counts are 150 and 100, the current behavior is to train on 150 spams and 75 hams. That's really never what you want. The ratio should delimit the unbalanced-ness. The attached patch does that. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1755857&group_id=61702 _______________________________________________ Spambayes-bugs mailing list [email protected] http://mail.python.org/mailman/listinfo/spambayes-bugs
