public interface WekaResultInstanceImporter
Modifier and Type | Method and Description |
---|---|
void |
importInstanceResult(Integer instanceNumber,
List<String> instanceKey,
String task,
int classAuto,
int classGold,
List<Double> predictions) |
void importInstanceResult(Integer instanceNumber, List<String> instanceKey, String task, int classAuto, int classGold, List<Double> predictions)
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 indexprediction
- probabilities of belonging to specified classes, if run with
-distribution option. else just probability of belonging to
predicted class.Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.