## Uses of Class
org.apache.lucene.classification.ClassificationResult

- Packages that use ClassificationResult
  Package | Description
  --- | ---
  org.apache.lucene.classification | Uses already seen data (the indexed documents) to classify new documents.

- - ### Uses of ClassificationResult in org.apache.lucene.classification

    Methods in org.apache.lucene.classification that return ClassificationResult
    Modifier and Type | Method and Description
    --- | ---
    `ClassificationResult<BytesRef>` | KNearestNeighborClassifier.`assignClass(String text)` Assign a class (with score) to the given text String
    `ClassificationResult<T>` | Classifier.`assignClass(String text)` Assign a class (with score) to the given text String
    `ClassificationResult<Boolean>` | BooleanPerceptronClassifier.`assignClass(String text)` Assign a class (with score) to the given text String
    `ClassificationResult<BytesRef>` | SimpleNaiveBayesClassifier.`assignClass(String inputDocument)` Assign a class (with score) to the given text String

    Methods in org.apache.lucene.classification that return types with arguments of type ClassificationResult
    Modifier and Type | Method and Description
    --- | ---
    `List<ClassificationResult<BytesRef>>` | KNearestNeighborClassifier.`getClasses(String text)` Get all the classes (sorted by score, descending) assigned to the given text String.
    `List<ClassificationResult<T>>` | Classifier.`getClasses(String text)` Get all the classes (sorted by score, descending) assigned to the given text String.
    `List<ClassificationResult<Boolean>>` | BooleanPerceptronClassifier.`getClasses(String text)` Get all the classes (sorted by score, descending) assigned to the given text String.
    `List<ClassificationResult<BytesRef>>` | SimpleNaiveBayesClassifier.`getClasses(String text)` Get all the classes (sorted by score, descending) assigned to the given text String.
    `List<ClassificationResult<BytesRef>>` | KNearestNeighborClassifier.`getClasses(String text, int max)` Get the first `max` classes (sorted by score, descending) assigned to the given text String.
    `List<ClassificationResult<T>>` | Classifier.`getClasses(String text, int max)` Get the first `max` classes (sorted by score, descending) assigned to the given text String.
    `List<ClassificationResult<Boolean>>` | BooleanPerceptronClassifier.`getClasses(String text, int max)` Get the first `max` classes (sorted by score, descending) assigned to the given text String.
    `List<ClassificationResult<BytesRef>>` | SimpleNaiveBayesClassifier.`getClasses(String text, int max)` Get the first `max` classes (sorted by score, descending) assigned to the given text String.

    Methods in org.apache.lucene.classification with parameters of type ClassificationResult
    Modifier and Type | Method and Description
    --- | ---
    `int` | ClassificationResult.`compareTo(ClassificationResult<T> o)`

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