adams.flow.transformer.WekaFileReader
Reads any file format that Weka's converters can handle and returns the full dataset or single weka.core.Instance objects. This actor takes the file or URL to read as input. In case of URLs, the associated loader must implement weka.core.converters.URLSourcedLoader.
Flow input/output:
- input: java.lang.String, java.io.File, java.net.URL
- 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 | WekaFileReader |
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 custom loader will be used for loading the data.
command-line | -use-custom <boolean> |
default | false |
The custom loader to use if enabled.
command-line | -loader <weka.core.converters.AbstractFileLoader> |
default | weka.core.converters.SimpleArffLoader -encoding Default |
Defines how the data is output, e.g., as complete dataset or row-by-row.
command-line | -output-type <DATASET|HEADER|INCREMENTAL> |
default | DATASET |