# Package org.apache.lucene.classification

Uses already seen data (the indexed documents) to classify an input ( can be simple text or a structured document).

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Classifier<T> | A classifier, see `http://en.wikipedia.org/wiki/Classifier_(mathematics)`, which assign classes of type `T`

- Class Summary
  Class | Description
  --- | ---
  BooleanPerceptronClassifier | A perceptron (see `http://en.wikipedia.org/wiki/Perceptron`) based `Boolean` `Classifier`.
  CachingNaiveBayesClassifier | A simplistic Lucene based NaiveBayes classifier, with caching feature, see `http://en.wikipedia.org/wiki/Naive_Bayes_classifier`
  ClassificationResult<T> | The result of a call to `Classifier.assignClass(String)` holding an assigned class of type `T` and a score.
  KNearestNeighborClassifier | A k-Nearest Neighbor classifier (see `http://en.wikipedia.org/wiki/K-nearest_neighbors`) based on `MoreLikeThis`
  SimpleNaiveBayesClassifier | A simplistic Lucene based NaiveBayes classifier, see `http://en.wikipedia.org/wiki/Naive_Bayes_classifier`

## Package org.apache.lucene.classification Description

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.

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.