public class WekaResultsImporterImpl.ClassifierEvaluationInstanceImporter extends Object implements WekaResultInstanceImporter
Constructor and Description |
---|
ClassifierEvaluationInstanceImporter(ClassifierEvaluation classifierEvaluation,
boolean storeProbabilities) |
Modifier and Type | Method and Description |
---|---|
void |
importInstanceResult(Integer instanceNumber,
List<String> instanceKey,
String task,
int classAuto,
int classGold,
List<Double> predictions) |
public ClassifierEvaluationInstanceImporter(ClassifierEvaluation classifierEvaluation, boolean storeProbabilities)
public void importInstanceResult(Integer instanceNumber, List<String> instanceKey, String task, int classAuto, int classGold, List<Double> predictions)
importInstanceResult
in interface WekaResultInstanceImporter
instanceNumber
- optional instance number when multiple instance classified,
used for outputting errors/warningsinstanceKey
- list of attributes to resolve instance - foreign key to
document/sentence/whatevertask
- classification taskclassAuto
- classifer's predicted classclassGold
- gold standard class indexCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.