adams.flow.transformer.WekaInstanceBuffer
Can act in two different ways:
1. Instance -> Instances (row -> dataset)
Buffers weka.core.Instance objects and outputs a weka.core.Instances object, whenever the interval condition has been met.
2. Instances -> Instance (dataset -> row)
Outputs all the weka.core.Instance objects that the incoming weka.core.Instances object contains.
Flow input/output:
- input: weka.core.Instance, weka.core.Instance[]
- output: 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 | WekaInstanceBuffer | 
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 | 
The way the buffer operates, 'dataset -> row' or 'row -> dataset'.
| command-line | -operation <INSTANCES_TO_INSTANCE|INSTANCE_TO_INSTANCES> | 
| default | INSTANCE_TO_INSTANCES | 
Whether to check the headers - if the headers change, the Instance object gets dumped into a new file (in case of INSTANCE_TO_INSTANCES).
| command-line | -check <boolean> | 
| default | false | 
The interval at which to output the Instances object (in case of INSTANCE_TO_INSTANCES).
| command-line | -interval <int> | 
| default | 1 | 
| minimum | 1 | 
Whether to clear the buffer once the dataset has been forwarded (in case of INSTANCE_TO_INSTANCES).
| command-line | -clear-buffer <boolean> | 
| default | false | 
The variable to monitor.
| command-line | -var-name <adams.core.VariableName> | 
| default | variable |