A C D G K O S T 

A

assignClass(String) - Method in interface org.apache.lucene.classification.Classifier
Assign a class (with score) to the given text String
assignClass(String) - Method in class org.apache.lucene.classification.KNearestNeighborClassifier
Assign a class (with score) to the given text String
assignClass(String) - Method in class org.apache.lucene.classification.SimpleNaiveBayesClassifier
Assign a class (with score) to the given text String

C

ClassificationResult<T> - Class in org.apache.lucene.classification
The result of a call to Classifier.assignClass(String) holding an assigned class of type T and a score.
ClassificationResult(T, double) - Constructor for class org.apache.lucene.classification.ClassificationResult
Constructor
Classifier<T> - Interface in org.apache.lucene.classification
A classifier, see http://en.wikipedia.org/wiki/Classifier_(mathematics), which assign classes of type T

D

DatasetSplitter - Class in org.apache.lucene.classification.utils
Utility class for creating training / test / cross validation indexes from the original index.
DatasetSplitter(double, double) - Constructor for class org.apache.lucene.classification.utils.DatasetSplitter
Create a DatasetSplitter by giving test and cross validation IDXs sizes

G

getAssignedClass() - Method in class org.apache.lucene.classification.ClassificationResult
retrieve the result class
getScore() - Method in class org.apache.lucene.classification.ClassificationResult
retrieve the result score

K

KNearestNeighborClassifier - Class in org.apache.lucene.classification
A k-Nearest Neighbor classifier (see http://en.wikipedia.org/wiki/K-nearest_neighbors) based on MoreLikeThis
KNearestNeighborClassifier(int) - Constructor for class org.apache.lucene.classification.KNearestNeighborClassifier
Create a Classifier using kNN algorithm

O

org.apache.lucene.classification - package org.apache.lucene.classification
Uses already seen data (the indexed documents) to classify new documents.
org.apache.lucene.classification.utils - package org.apache.lucene.classification.utils
Utilities for evaluation, data preparation, etc.

S

SimpleNaiveBayesClassifier - Class in org.apache.lucene.classification
A simplistic Lucene based NaiveBayes classifier, see http://en.wikipedia.org/wiki/Naive_Bayes_classifier
SimpleNaiveBayesClassifier() - Constructor for class org.apache.lucene.classification.SimpleNaiveBayesClassifier
Creates a new NaiveBayes classifier.
split(AtomicReader, Directory, Directory, Directory, Analyzer, String...) - Method in class org.apache.lucene.classification.utils.DatasetSplitter
Split a given index into 3 indexes for training, test and cross validation tasks respectively

T

train(AtomicReader, String, String, Analyzer) - Method in interface org.apache.lucene.classification.Classifier
Train the classifier using the underlying Lucene index
train(AtomicReader, String, String, Analyzer) - Method in class org.apache.lucene.classification.KNearestNeighborClassifier
Train the classifier using the underlying Lucene index
train(AtomicReader, String, String, Analyzer) - Method in class org.apache.lucene.classification.SimpleNaiveBayesClassifier
Train the classifier using the underlying Lucene index
A C D G K O S T 

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