Uses of Record Class
org.apache.lucene.classification.ClassificationResult
Packages that use ClassificationResult
Package
Description
Uses already seen data (the indexed documents) to classify an input ( can be simple text or a
structured document).
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 ClassificationResultModifier and TypeMethodDescriptionBM25NBClassifier.assignClass
(String inputDocument) BooleanPerceptronClassifier.assignClass
(String text) Classifier.assignClass
(String text) Assign a class (with score) to the given text StringKNearestFuzzyClassifier.assignClass
(String text) KNearestNeighborClassifier.assignClass
(String text) SimpleNaiveBayesClassifier.assignClass
(String inputDocument) protected ClassificationResult
<BytesRef> KNearestNeighborClassifier.classifyFromTopDocs
(TopDocs knnResults) TODOMethods in org.apache.lucene.classification that return types with arguments of type ClassificationResultModifier and TypeMethodDescriptionprotected List
<ClassificationResult<BytesRef>> CachingNaiveBayesClassifier.assignClassNormalizedList
(String inputDocument) Transforms values into a range between 0 and 1protected List
<ClassificationResult<BytesRef>> SimpleNaiveBayesClassifier.assignClassNormalizedList
(String inputDocument) Calculate probabilities for all classes for a given input textprotected List
<ClassificationResult<BytesRef>> KNearestNeighborClassifier.buildListFromTopDocs
(TopDocs topDocs) build a list of classification results from search resultsBM25NBClassifier.getClasses
(String text) BM25NBClassifier.getClasses
(String text, int max) BooleanPerceptronClassifier.getClasses
(String text) BooleanPerceptronClassifier.getClasses
(String text, int max) Classifier.getClasses
(String text) Get all the classes (sorted by score, descending) assigned to the given text String.Classifier.getClasses
(String text, int max) Get the firstmax
classes (sorted by score, descending) assigned to the given text String.KNearestFuzzyClassifier.getClasses
(String text) KNearestFuzzyClassifier.getClasses
(String text, int max) KNearestNeighborClassifier.getClasses
(String text) KNearestNeighborClassifier.getClasses
(String text, int max) SimpleNaiveBayesClassifier.getClasses
(String text) SimpleNaiveBayesClassifier.getClasses
(String text, int max) protected ArrayList
<ClassificationResult<BytesRef>> SimpleNaiveBayesClassifier.normClassificationResults
(List<ClassificationResult<BytesRef>> assignedClasses) Normalize the classification results based on the max score availableMethods in org.apache.lucene.classification with parameters of type ClassificationResultMethod parameters in org.apache.lucene.classification with type arguments of type ClassificationResultModifier and TypeMethodDescriptionprotected ArrayList
<ClassificationResult<BytesRef>> SimpleNaiveBayesClassifier.normClassificationResults
(List<ClassificationResult<BytesRef>> assignedClasses) Normalize the classification results based on the max score available -
Uses of ClassificationResult in org.apache.lucene.classification.document
Methods in org.apache.lucene.classification.document that return ClassificationResultModifier and TypeMethodDescriptionDocumentClassifier.assignClass
(Document document) Assign a class (with score) to the givenDocument
KNearestNeighborDocumentClassifier.assignClass
(Document document) SimpleNaiveBayesDocumentClassifier.assignClass
(Document document) Methods in org.apache.lucene.classification.document that return types with arguments of type ClassificationResultModifier and TypeMethodDescriptionDocumentClassifier.getClasses
(Document document) Get all the classes (sorted by score, descending) assigned to the givenDocument
.DocumentClassifier.getClasses
(Document document, int max) Get the firstmax
classes (sorted by score, descending) assigned to the given text String.KNearestNeighborDocumentClassifier.getClasses
(Document document) KNearestNeighborDocumentClassifier.getClasses
(Document document, int max) SimpleNaiveBayesDocumentClassifier.getClasses
(Document document) SimpleNaiveBayesDocumentClassifier.getClasses
(Document document, int max)