|
spambayes
1.1a6
About: SpamBayes - a Bayesian anti-spam filter/classifier (written in Python)
Fossies Dox: spambayes-1.1a6.zip ("inofficial" and yet experimental doxygen-generated source code documentation) ![]() |
Classes | |
| class | SetOutputter |
| class | ErrorSetOutputter |
Functions | |
| def | outputset |
| def | main |
Variables | |
| string | report = "error" |
| span = None | |
| string | set = "" |
| list | nham_tested = [] |
| list | nham_trained = [] |
| list | nham_right = [] |
| list | nham_wrong = [] |
| list | nham_unsure = [] |
| list | nspam_tested = [] |
| list | nspam_trained = [] |
| list | nspam_right = [] |
| list | nspam_wrong = [] |
| list | nspam_unsure = [] |
This takes incremental.py output and outputs a file to be
used to create a graph (by default by plotmtv).
Options:
-h Display this message.
-r [report type] Output this type of report.
Currently supported: "error", "counts"
Defaults to "error".
-s [number] Span of days to average counts over.
If not specified then culmulative counts are
output (this is the default).
-f [file] Input file (if not specified, stdin is used)
-c Rather than outputting in plotmtv format,
where each line is described separately,
output each line in a separate column, which
is easier to create an Excel graph from.
-s [sep] If -c is used, then this is the column
separator (defaults to comma).
| def mkgraph.main | ( | ) |
Definition at line 212 of file mkgraph.py.
References outputset().
| def mkgraph.outputset | ( | Output | ) |
Definition at line 40 of file mkgraph.py.
Referenced by main().
| list mkgraph.nham_right = [] |
Definition at line 31 of file mkgraph.py.
| list mkgraph.nham_tested = [] |
Definition at line 29 of file mkgraph.py.
| list mkgraph.nham_trained = [] |
Definition at line 30 of file mkgraph.py.
| list mkgraph.nham_unsure = [] |
Definition at line 33 of file mkgraph.py.
| list mkgraph.nham_wrong = [] |
Definition at line 32 of file mkgraph.py.
| list mkgraph.nspam_right = [] |
Definition at line 36 of file mkgraph.py.
| list mkgraph.nspam_tested = [] |
Definition at line 34 of file mkgraph.py.
| list mkgraph.nspam_trained = [] |
Definition at line 35 of file mkgraph.py.
| list mkgraph.nspam_unsure = [] |
Definition at line 38 of file mkgraph.py.
| list mkgraph.nspam_wrong = [] |
Definition at line 37 of file mkgraph.py.
| string mkgraph.report = "error" |
Definition at line 25 of file mkgraph.py.
| string mkgraph.set = "" |
Definition at line 28 of file mkgraph.py.
Referenced by spambayes.ImageStripper.ImageStripper.analyze(), spambayes.ImageStripper.ImageStripper.extract_ocr_info(), extractmessages.extractmessages(), splitndirs.main(), extractmessages.main(), findbest.main(), mkreversemap.mapmessages(), spambayes.tokenizer.octetparts(), spambayes.CoreUI.CoreUserInterface.onReview(), spambayes.ProxyUI.ProxyUserInterface.onReview(), spambayes.ImageStripper.PIL_decode_parts(), spambayes.classifier.Classifier.probability(), mboxtest.randindices(), findbest.score(), spambayes.TestDriver.Driver.test(), spambayes.tokenizer.textparts(), and spambayes.tokenizer.Tokenizer.tokenize_text().
| mkgraph.span = None |
Definition at line 26 of file mkgraph.py.