adams.flow.transformer.MekaClassSelector
Determines which attributes to use as class attributes using either a regular expression or an attribute index range.
In case the attribute range is a non-empty string, this will take precedence over the regular expression.
Anything that follows a ':' or ' ' (blank) gets removed from the original relation name in order to create a valid MEKA one.
Flow input/output:
- input: weka.core.Instances
- 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 | MekaClassSelector | 
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 attribute range.
| command-line | -range <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 regular expression used for selecting the class attributes (matched against the attribute names).
| command-line | -regex <adams.core.base.BaseRegExp> | 
| default | .* | 
| more | https://docs.oracle.com/javase/tutorial/essential/regex/ | 
| https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html |