Anthony> Just a quick question about training and testing with
Anthony> SpamBayes. Can the 'sb_filter.py' file be used to perform
Anthony> training? Can the same file be used for testing, i.e. by
Anthony> modifying headers of outputting results of a message that it
Anthony> classifies? Also 'incremental.py' looks useful but how would
Anthony> it be used at the command line?
Yes, you can use sb_filter.py to train:
% sb_filter.py --help
SpamBayes Command Line Filter Version 1.1b1 (November 23, 2008)
Usage: /Users/skip/local/bin/sb_filter.py [options] [filenames]
Options can one or more of:
-h
show usage and exit
-v
show version and exit
-x
show some usage examples and exit
...
* -t
filter and train based on the result -- you must
make sure to untrain all mistakes later. Not recommended.
...
Not sure what incremental.py is used for. I haven't dug around in the
testtools package for quite awhile.
--
Skip Montanaro - [email protected] - http://www.smontanaro.net/
_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html