ChangeDateFormat
Package
weka.filters.unsupervised.attribute
Synopsis
Changes the date format used by a date attribute. This is most useful for converting to a format with less precision, for example, from an absolute date to day of year, etc. This changes the format string, and changes the date values to those that would be parsed by the new format.
Options
The table below describes the options available for ChangeDateFormat.
Option |
Description |
---|---|
attributeIndex |
Sets which attribute to process. This attribute must be of type date ("first" and "last" are valid values) |
dateFormat |
The date format to change to. This should be a format understood by Java's SimpleDateFormat class. |
Capabilities
The table below describes the capabilites of ChangeDateFormat.
Capability |
Supported |
---|---|
Class |
Numeric class, Empty nominal class, No class, Relational class, Unary class, Missing class values, Date class, String class, Binary class, Nominal class |
Attributes |
Relational attributes, Missing values, Unary attributes, Nominal attributes, Numeric attributes, Empty nominal attributes, Date attributes, String attributes, Binary attributes |
Min # of instances |
0 |