Guides

In-depth reference documentation for the classifier gem.

Choosing a Classifier

Compare classifiers and pick the right one for your use case

Bayesian Classifier

Naive Bayes classification for categorizing text

LSI (Semantic Analysis)

Latent Semantic Indexing for semantic search and similarity

k-Nearest Neighbors

Instance-based classification with interpretable results

TF-IDF Vectorizer

Transform text into weighted feature vectors

Logistic Regression

Well-calibrated probabilities with interpretable feature weights

Persistence

Save and load trained classifiers with pluggable backends