# Package org.apache.lucene.classification.utils

package org.apache.lucene.classification.utils
Utilities for evaluation, data preparation, etc.

Related Packages
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.
Classes
Class
Description
ConfusionMatrixGenerator
Utility class to generate the confusion matrix of a `Classifier`
ConfusionMatrixGenerator.ConfusionMatrix
a confusion matrix, backed by a `Map` representing the linearized matrix
DatasetSplitter
Utility class for creating training / test / cross validation indexes from the original index.
DocToDoubleVectorUtils
utility class for converting Lucene `Document`s to `Double` vectors.
NearestFuzzyQuery
Simplification of FuzzyLikeThisQuery, to be used in the context of KNN classification.