[Spambayes] Training & Testing
skip at pobox.com
skip at pobox.com
Wed Jan 27 19:38:51 CET 2010
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 - skip at pobox.com - http://www.smontanaro.net/
More information about the SpamBayes
mailing list