Package
weka.filters.unsupervised.attribute
Synopsis
Replaces all missing values for nominal, string, numeric and date attributes in the dataset with user-supplied constant values.
Options
The table below describes the options available for ReplaceMissingWithUserConstant.
Option | Description |
---|---|
attributes | Specify range of attributes to act on. This is a comma separated list of attribute indices, with "first" and "last" valid values. Specify an inclusive range with "-". E.g: "first-3,5,6-10,last". Can alternatively specify a comma separated list of attribute names. Note that you can't mix indices and attribute names in the same list |
dateFormat | The formatting string to use for parsing the date replacement value |
dateReplacementValue | The constant to replace missing values in date attributes with |
ignoreClass | The class index will be unset temporarily before the filter is applied. |
nominalStringReplacementValue | The constant to replace missing values in nominal/string attributes with |
numericReplacementValue | The constant to replace missing values in numeric attributes with |
Capabilities
The table below describes the capabilities of ReplaceMissingWithUserConstant.
Capability | Supported |
---|---|
Class | Binary class, Missing class values, String class, Nominal class, No class, Relational class, Empty nominal class, Unary class, Date class, Numeric class |
Attributes | Relational attributes, Empty nominal attributes, Numeric attributes, Nominal attributes, Date attributes, Binary attributes, String attributes, Missing values, Unary attributes |
Min # of instances | 0 |