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 an input ( can be simple text or a structured document).org.apache.lucene.classification.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 ClassificationResult Modifier and Type Method Description ClassificationResult<BytesRef>BM25NBClassifier. assignClass(java.lang.String inputDocument)ClassificationResult<java.lang.Boolean>BooleanPerceptronClassifier. assignClass(java.lang.String text)ClassificationResult<T>Classifier. assignClass(java.lang.String text)Assign a class (with score) to the given text StringClassificationResult<BytesRef>KNearestFuzzyClassifier. assignClass(java.lang.String text)ClassificationResult<BytesRef>KNearestNeighborClassifier. assignClass(java.lang.String text)ClassificationResult<BytesRef>SimpleNaiveBayesClassifier. assignClass(java.lang.String inputDocument)protected ClassificationResult<BytesRef>KNearestNeighborClassifier. classifyFromTopDocs(TopDocs knnResults)TODOMethods in org.apache.lucene.classification that return types with arguments of type ClassificationResult Modifier and Type Method Description private java.util.List<ClassificationResult<BytesRef>>BM25NBClassifier. assignClassNormalizedList(java.lang.String inputDocument)Calculate probabilities for all classes for a given input textprotected java.util.List<ClassificationResult<BytesRef>>CachingNaiveBayesClassifier. assignClassNormalizedList(java.lang.String inputDocument)protected java.util.List<ClassificationResult<BytesRef>>SimpleNaiveBayesClassifier. assignClassNormalizedList(java.lang.String inputDocument)Calculate probabilities for all classes for a given input textprivate java.util.List<ClassificationResult<BytesRef>>KNearestFuzzyClassifier. buildListFromTopDocs(TopDocs topDocs)build a list of classification results from search resultsprotected java.util.List<ClassificationResult<BytesRef>>KNearestNeighborClassifier. buildListFromTopDocs(TopDocs topDocs)build a list of classification results from search resultsprivate java.util.List<ClassificationResult<BytesRef>>CachingNaiveBayesClassifier. calculateLogLikelihood(java.lang.String[] tokenizedText)java.util.List<ClassificationResult<BytesRef>>BM25NBClassifier. getClasses(java.lang.String text)java.util.List<ClassificationResult<BytesRef>>BM25NBClassifier. getClasses(java.lang.String text, int max)java.util.List<ClassificationResult<java.lang.Boolean>>BooleanPerceptronClassifier. getClasses(java.lang.String text)java.util.List<ClassificationResult<java.lang.Boolean>>BooleanPerceptronClassifier. getClasses(java.lang.String text, int max)java.util.List<ClassificationResult<T>>Classifier. getClasses(java.lang.String text)Get all the classes (sorted by score, descending) assigned to the given text String.java.util.List<ClassificationResult<T>>Classifier. getClasses(java.lang.String text, int max)Get the firstmaxclasses (sorted by score, descending) assigned to the given text String.java.util.List<ClassificationResult<BytesRef>>KNearestFuzzyClassifier. getClasses(java.lang.String text)java.util.List<ClassificationResult<BytesRef>>KNearestFuzzyClassifier. getClasses(java.lang.String text, int max)java.util.List<ClassificationResult<BytesRef>>KNearestNeighborClassifier. getClasses(java.lang.String text)java.util.List<ClassificationResult<BytesRef>>KNearestNeighborClassifier. getClasses(java.lang.String text, int max)java.util.List<ClassificationResult<BytesRef>>SimpleNaiveBayesClassifier. getClasses(java.lang.String text)java.util.List<ClassificationResult<BytesRef>>SimpleNaiveBayesClassifier. getClasses(java.lang.String text, int max)private java.util.ArrayList<ClassificationResult<BytesRef>>BM25NBClassifier. normClassificationResults(java.util.List<ClassificationResult<BytesRef>> assignedClasses)Normalize the classification results based on the max score availableprotected java.util.ArrayList<ClassificationResult<BytesRef>>SimpleNaiveBayesClassifier. normClassificationResults(java.util.List<ClassificationResult<BytesRef>> assignedClasses)Normalize the classification results based on the max score availableMethods in org.apache.lucene.classification with parameters of type ClassificationResult Modifier and Type Method Description intClassificationResult. compareTo(ClassificationResult<T> o)Method parameters in org.apache.lucene.classification with type arguments of type ClassificationResult Modifier and Type Method Description private java.util.ArrayList<ClassificationResult<BytesRef>>BM25NBClassifier. normClassificationResults(java.util.List<ClassificationResult<BytesRef>> assignedClasses)Normalize the classification results based on the max score availableprotected java.util.ArrayList<ClassificationResult<BytesRef>>SimpleNaiveBayesClassifier. normClassificationResults(java.util.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 ClassificationResult Modifier and Type Method Description ClassificationResult<T>DocumentClassifier. assignClass(Document document)Assign a class (with score) to the givenDocumentClassificationResult<BytesRef>KNearestNeighborDocumentClassifier. assignClass(Document document)ClassificationResult<BytesRef>SimpleNaiveBayesDocumentClassifier. assignClass(Document document)Methods in org.apache.lucene.classification.document that return types with arguments of type ClassificationResult Modifier and Type Method Description private java.util.List<ClassificationResult<BytesRef>>SimpleNaiveBayesDocumentClassifier. assignNormClasses(Document inputDocument)java.util.List<ClassificationResult<T>>DocumentClassifier. getClasses(Document document)Get all the classes (sorted by score, descending) assigned to the givenDocument.java.util.List<ClassificationResult<T>>DocumentClassifier. getClasses(Document document, int max)Get the firstmaxclasses (sorted by score, descending) assigned to the given text String.java.util.List<ClassificationResult<BytesRef>>KNearestNeighborDocumentClassifier. getClasses(Document document)java.util.List<ClassificationResult<BytesRef>>KNearestNeighborDocumentClassifier. getClasses(Document document, int max)java.util.List<ClassificationResult<BytesRef>>SimpleNaiveBayesDocumentClassifier. getClasses(Document document)java.util.List<ClassificationResult<BytesRef>>SimpleNaiveBayesDocumentClassifier. getClasses(Document document, int max)
-