Registry / utility / classifier-reborn

classifier-reborn

JSON →
library2.3.0rbrubygemsunverified

A general classifier module to allow Bayesian and other types of classifications.

gem install classifier-reborn
INSTALL
IMPORT
SIG · CLASSIFIER-REBORN
C
classifier-reborn
utilityrubyv2.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ClassifierReborn
require 'classifier-reborn'

Train a Bayesian classifier and classify text

require 'classifier-reborn' classifier = ClassifierReborn::Bayes.new 'Ham', 'Spam' classifier.train_ham 'normal text' classifier.train_spam 'viagra' classifier.classify 'buy now' # => 'Spam'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
classifier-reborn — gem install classifier-reborn · libregistry