adams.flow.source.WekaNewInstances
Generates an empty dataset, based on the attribute types and names specified.
Nominal attributes are generated with an empty set of labels. Use the weka.filters.unsupervised.attribute.AddValues filter to add the required labels.
Date attributes are created with the default format of 'yyyy-MM-dd'T'HH:mm:ss'. Use the weka.filters.unsupervised.attribute.ChangeDateFormat filter to change the format to a more suitable format, if required.
Flow input/output:
- 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 | WekaNewInstances |
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 name of the relation; if left empty, the full name of the actor is used.
command-line | -relation-name <java.lang.String> |
default |
|
A comma-separated list of attribute types (NUM|NOM|STR|DAT).
command-line | -att-type <adams.core.base.AttributeTypeList> |
default |
|
The comma-separated list of attribute names; if left empty or not enough items available, the prefix 'att-' is used in conjunction with the 1-based index of the attribute; for the class attribute (if applicable), the name 'class' is used, unless otherwise specified.
command-line | -att-name <adams.core.base.BaseList> |
default |
|
The class index to set, leave empty to have none set; An index is a number starting with 1; the following placeholders can be used as well: first, second, third, last_2, last_1, last
command-line | -class-index <java.lang.String> |
default |
|
The name of the class attribute; default is 'class'.
command-line | -class-name <java.lang.String> |
default |
|