Package org.apache.lucene.classification
package org.apache.lucene.classification
Uses already seen data (the indexed documents) to classify an input ( can be simple text or a
structured document).
Currently contains a (simplistic) Naive Bayes classifier, a k-Nearest Neighbor classifier and a Perceptron based classifier.
-
ClassDescriptionA classifier approximating naive bayes classifier by using pure queries on BM25.A simplistic Lucene based NaiveBayes classifier, with caching feature, see
http://en.wikipedia.org/wiki/Naive_Bayes_classifier
The result of a call toClassifier.assignClass(String)
holding an assigned class of typeT
and a score.Classifier<T>A classifier, seehttp://en.wikipedia.org/wiki/Classifier_(mathematics)
, which assign classes of typeT
A k-Nearest Neighbor classifier based onNearestFuzzyQuery
.A k-Nearest Neighbor classifier (seehttp://en.wikipedia.org/wiki/K-nearest_neighbors
) based onMoreLikeThis
A simplistic Lucene based NaiveBayes classifier, seehttp://en.wikipedia.org/wiki/Naive_Bayes_classifier