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.

utility
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.

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 footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources