adams.flow.transformer.WekaInstanceDumper
Dumps weka.core.Instance objects into an ARFF file. If the headers change and the header-check is enabled, then a new file will be used.
The actor can also turn double arrays into weka.core.Instance objects (all attributes are assumed to be numeric).
Flow input/output:
- input: weka.core.Instance, double[]
- output: java.lang.String
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 | WekaInstanceDumper |
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 |
Whether to check the headers - if the headers change, the Instance object gets dumped into a new file.
command-line | -check <boolean> |
default | false |
The path and partial filename of the output file; automatically removes 'arff' and 'csv' extensions, as they get added automatically.
command-line | -prefix <adams.core.io.PlaceholderFile> |
default | ${CWD} |
The format to output the data in.
command-line | -format <ARFF|CSV|TAB> |
default | ARFF |
If set to true, then the relation name replaces the name of the output file; eg if the output file is '/some/where/file.arff' and the relation is 'anneal' then the resulting file name will be '/some/where/anneal.arff'.
command-line | -use-relation <boolean> |
default | false |
If enabled, any output file that exists when the actor is executed for the first time (or variables modify the actor) won't get replaced with the current header; useful when outputting data in multiple locations in the flow, but one needs to be cautious as to not stored mixed content (eg varying number of attributes, etc).
command-line | -keep-existing <boolean> |
default | false |
The number of instances to buffer before writing to disk, in order to improve I/O performance.
command-line | -buffer-size <int> |
default | 1 |
minimum | 1 |