Package | Description |
---|---|
org.apache.lucene.classification.utils |
Utilities for evaluation, data preparation, etc.
|
Modifier and Type | Method and Description |
---|---|
static <T> ConfusionMatrixGenerator.ConfusionMatrix |
ConfusionMatrixGenerator.getConfusionMatrix(IndexReader reader,
Classifier<T> classifier,
java.lang.String classFieldName,
java.lang.String textFieldName,
long timeoutMilliseconds)
get the
ConfusionMatrixGenerator.ConfusionMatrix of a given Classifier ,
generated on the given IndexReader , class and text fields. |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.