Expand description
What the header features say of each account’s mail (sioul spam features): each feature’s mean over the corpus, by account and label,
and how often it is known. A feature whose mean differs from one account
to another more than from ham to spam tells the classifier where mail was
collected rather than what it is: it learns each account’s share of spam
instead of spam. Optionally, only the mail of one sender’s domain: what
the features carry of a bank’s or a provider’s real messages. Numbers
only, never a message.
Structs§
- Group
- One account’s mail of one label: how many, each feature’s mean over those where it is known, and how many those are.
Functions§
- feature_
means - Each account’s and label’s feature means, over the copies a training
learns from; only the mail of
domain(the sender’s registrable domain, or one under it) when given. - names
- The feature names, in the order of
Group::means.