question about bayes classifier application
whille <[email protected]> Fri, 25 Jan 2013 11:34:44 +0800
| Newsgroups | gmane.mail.spam.spambayes.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
i've just signed in the email group. please tell me if any mistakes.
i'm asking suggestion for my testing result.
i'm using spambayes src codes, to apply in person classifying:
personal or organization.
basically use Tester and Bayes codes:
from spambayes.classifier import Bayes
from spambayes.Options import options
from spambayes.Tester import Test, _Example
tokenizing sample, add 'user:' to username field:
username: user:...
description: ...
vip: True/False
the result i got now is appended, 400~4k samples used to train and predict.
method: use 90% to train, rest 10% to test. average 10 times to get result.
5-5-img3.png:
options["Categorization", "ham_cutoff"] = 0.5
options["Categorization", "spam_cutoff"] = 0.5
false_positive_rate still climbing at 4k samples.
4-8.5-....png:
options["Categorization", "ham_cutoff"] = 0.4
options["Categorization", "spam_cutoff"] = 0.85
unsure_rate still climbing. false_positive_rate climbing slowly. If add
both, result in similar as 0.5-.0.5 cutoff
Is this normal in spambayes app? Any wrong in my usage? thanks a lot.
_______________________________________________
[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
5-5-img3.png
(image/png, 35.9 KB) - not displayed
4-8.5-img-vtype-imgcomplex.png
(image/png, 36.1 KB) - not displayed