module Yanbi

Naive Bayesian classifier. Training and classification are both done via passed in word bags, as opposed to raw text. The first argument to new is the class of WordBag that you want newdoc to create. From then on, you can use newdoc to process text instead of manually creating word bags yourself, which will help to keep the word bag type consistent for a given classifier object. Note that if you really want to, you can train or classify with a different type of word bag then you passed in, although I can't imagine why you would want to. There's also a default constructor if you just want to create a classifier without being bothered about which word bag it uses.

Author

Robert Dormer (rdormer@gmail.com)

Copyright

Copyright © 2016 Robert Dormer

License

MIT

Author

Robert Dormer (rdormer@gmail.com)

Copyright

Copyright © 2016 Robert Dormer

License

MIT

Constants

VERSION