Add
Package
weka.filters.unsupervised.attribute
Synopsis
An instance filter that adds a new attribute to the dataset. The new attribute will contain all missing values.
Options
The table below describes the options available for Add.
Option |
Description |
---|---|
attributeIndex |
The position (starting from 1) where the attribute will be inserted (first and last are valid indices). |
attributeName |
Set the new attribute's name. |
attributeType |
Defines the type of the attribute to generate. |
dateFormat |
The format of the date values (see ISO-8601). |
nominalLabels |
The list of value labels (nominal attribute creation only). The list must be comma-separated, eg: "red,green,blue". If this is empty, the created attribute will be numeric. |
Capabilities
The table below describes the capabilites of Add.
Capability |
Supported |
---|---|
Class |
Relational class, String class, Unary class, Binary class, Missing class values, Date class, No class, Empty nominal class, Nominal class, Numeric class |
Attributes |
Unary attributes, Date attributes, Binary attributes, Nominal attributes, Empty nominal attributes, String attributes, Numeric attributes, Relational attributes, Missing values |
Min # of instances |
0 |