The BayesianMailFilter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| BayesianMailFilter | Initializes a new instance of the BayesianMailFilter class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Examine |
Examines specified message checking the probabilty of the message beeing spam.
| |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| LearnHam |
Use this method to teach the filter that specified message is not spam (is ham).
| |
| LearnSpam |
Use this method to teach the filter that specified message is spam.
| |
| Load |
Loadsall words used be the filter from specified file.
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Save |
Saves all words used be the filter to specified file.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| HamBias |
Gets or sets the overall probability that any given message is not spam (is "ham") (Pr(H))
| |
| SpamBias |
Gets or sets the overall probability that any given message is spam (Pr(S))
| |
| SpamThreshold |
Gets or sets the spam threshold: IsSpam = SpamProbability > SpamThreshold
|