AddID
Package
weka.filters.unsupervised.attribute
Synopsis
An instance filter that adds an ID attribute to the dataset. The new attribute contains a unique ID for each instance.
Note: The ID is not reset for the second batch of files (using -b and -r and -s).
Options
The table below describes the options available for AddID.
Option |
Description |
---|---|
IDIndex |
The position (starting from 1) where the attribute will be inserted (first and last are valid indices). |
attributeName |
Set the new attribute's name. |
Capabilities
The table below describes the capabilites of AddID.
Capability |
Supported |
---|---|
Class |
No class, Missing class values, String class, Numeric class, Empty nominal class, Binary class, Date class, Unary class, Nominal class, Relational class |
Attributes |
Numeric attributes, Relational attributes, Missing values, Empty nominal attributes, Date attributes, Binary attributes, String attributes, Unary attributes, Nominal attributes |
Min # of instances |
0 |