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)  

 All Classes Namespaces Files Functions Variables Properties Macros
mkgraph Namespace Reference

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 = []

Detailed Description

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).

Function Documentation

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().


Variable Documentation

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.

mkgraph.span = None

Definition at line 26 of file mkgraph.py.