Registry / utility / classifier

classifier

JSON →
library2.5.0rbrubygemsunverified

A Ruby library for text classification featuring Naive Bayes, LSI, Logistic Regression, and k-Nearest Neighbors classifiers.

gem install classifier
INSTALL
IMPORT
SIG · CLASSIFIER
C
classifier
utilityrubyv2.5.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.

Classifier
✓ require 'classifier'

Train a Naive Bayes classifier and classify text

require 'classifier' classifier = Classifier::Bayes.new('Interesting', 'Boring') classifier.train_interesting('This is a great gem') classifier.train_boring('This is boring') classifier.classify('This is a great gem') # => 'Interesting'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.5.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
classifier — gem install classifier · libregistry