BayesFilter Methods |
The BayesFilter type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LoadDatabase(Stream, Stream) |
Loads Bayesian database from a stream.
| |
LoadDatabase(String, String) |
Loads Bayesian database from disk.
| |
LoadDatabaseAsync(Stream, Stream) |
async/await version of LoadDatabase(Stream, Stream).
| |
LoadDatabaseAsync(String, String) |
async/await version of LoadDatabase(String, String).
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SaveDatabase(Stream, Stream) |
Saves the Bayesian database to stream.
| |
SaveDatabase(String, String) |
Saves the Bayesian database to disk.
| |
SaveDatabase(Stream, Stream, Int32, Boolean) |
Compacts the database by removing non-significant data and saves
the database to stream.
| |
SaveDatabase(String, String, Int32, Boolean) |
Compacts the database by removing non-significant data and saves
the database to disk.
| |
SaveDatabaseAsync(Stream, Stream) |
async/await version of SaveDatabase(Stream, Stream).
| |
SaveDatabaseAsync(String, String) |
async/await version of SaveDatabase(String, String).
| |
SaveDatabaseAsync(Stream, Stream, Int32, Boolean) |
async/await version of SaveDatabase(Stream, Stream, Int32, Boolean).
| |
SaveDatabaseAsync(String, String, Int32, Boolean) |
async/await version of SaveDatabase(String, String, Int32, Boolean).
| |
ScoreMessage |
Analyses the message and returns the probability of the message being spam.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TrainFilter |
Learns from the specified message as from spam or non-spam source.
|