adams.flow.transformer.WekaPredictionsToSpreadSheet
Generates a SpreadSheet object from the predictions of an Evaluation object.
Flow input/output:
- input: weka.classifiers.Evaluation, adams.flow.container.WekaEvaluationContainer
- output: adams.data.spreadsheet.SpreadSheet
Container information:
- adams.flow.container.WekaEvaluationContainer:
- Evaluation: evaluation object; weka.classifiers.Evaluation
- Model: model object; java.lang.Object
- Prediction output: prediction output text; java.lang.String
- Original indices: original indices (0-based); array of int
- Test data: data used for testing; weka.core.Instances
The logging level for outputting errors and debugging output.
command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
default | WARNING |
min-user-mode | Expert |
The name of the actor.
command-line | -name <java.lang.String> |
default | WekaPredictionsToSpreadSheet |
The annotations to attach to this actor.
command-line | -annotation <adams.core.base.BaseAnnotation> |
default |
|
If set to true, transformation is skipped and the input token is just forwarded as it is.
command-line | -skip <boolean> |
default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
command-line | -stop-flow-on-error <boolean> |
default | false |
min-user-mode | Expert |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
command-line | -silent <boolean> |
default | false |
min-user-mode | Expert |
If set to true, then the label is prefixed with the index.
command-line | -add-index <boolean> |
default | false |
If set to true, then the error will be displayed as well.
command-line | -error <boolean> |
default | false |
If set to true, then the error will be absolute (no direction).
command-line | -absolute-error <boolean> |
default | true |
If set to true, then the probability of the prediction will be displayed as well (only for nominal class attributes).
command-line | -probability <boolean> |
default | false |
If set to true, then the class distribution will be displayed as well (only for nominal class attributes).
command-line | -distribution <boolean> |
default | false |
If set to true, then the instance weight will be displayed as well.
command-line | -weight <boolean> |
default | false |
If set to true, the input token is a adams.flow.container.WekaEvaluationContainer and it contains the original indices ('Original indices') then the output will get aligned with the original data.
command-line | -use-original-indices <boolean> |
default | true |
The range of attributes from the test set to add to the output (if test data available).
command-line | -test-attributes <adams.data.weka.WekaAttributeRange> |
default |
|
example | A range is a comma-separated list of single 1-based indices or sub-ranges of indices ('start-end'); 'inv(...)' inverts the range '...'; apart from attribute names (case-sensitive), the following placeholders can be used as well: first, second, third, last_2, last_1, last; numeric indices can be enforced by preceding them with '#' (eg '#12'); attribute names can be surrounded by double quotes. |
The prefix to use for the measure attributes being output.
command-line | -measures-prefix <java.lang.String> |
default |
|