public class DoccatEvaluationErrorListener extends EvaluationErrorPrinter<DocumentSample> implements DoccatEvaluationMonitor
EvaluationMonitor
that prints to an
output stream.Constructor and Description |
---|
DoccatEvaluationErrorListener()
Creates a listener that will print to System.err
|
DoccatEvaluationErrorListener(OutputStream outputStream)
Creates a listener that will print to a given
OutputStream |
Modifier and Type | Method and Description |
---|---|
void |
missclassified(DocumentSample reference,
DocumentSample prediction) |
correctlyClassified, printError, printError, printError, printError, printError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
correctlyClassified
public DoccatEvaluationErrorListener()
public DoccatEvaluationErrorListener(OutputStream outputStream)
OutputStream
public void missclassified(DocumentSample reference, DocumentSample prediction)
missclassified
in interface EvaluationMonitor<DocumentSample>
missclassified
in class EvaluationErrorPrinter<DocumentSample>
Copyright © 2017 The Apache Software Foundation. All rights reserved.