Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sunsided/bayes-classification

C# based experiments in Bayesian classification
https://github.com/sunsided/bayes-classification

bayes-classification classifier csharp spam

Last synced: about 2 months ago
JSON representation

C# based experiments in Bayesian classification

Awesome Lists containing this project

README

        

# Naive Bayes Classification

A naive Bayes classifier with Laplace smoothing for arbitrary features written in C#.

## Directory structure

* `src` contains the library's source code
* `test` contains the unit tests
* `samples` contains the test application

## SmsSpam example

The SmsSpam demo application uses the [SMS Spam Collection v.1](http://www.dt.fee.unicamp.br/~tiago/smsspamcollection/) in order to train the classifier with Spam and Ham SMS text data and then match individual SMS against that. Cleaned, but otherwise raw words are used (i.e. stripped from whitespace, numbers, punctuation, ...) as tokens.

## License

This code is, if not otherwise stated, available under MIT License. See `LICENSE` file for more information.