SwapValues

Package

weka.filters.unsupervised.attribute

Synopsis

Swaps two values of a nominal attribute.

Options

The table below describes the options available for SwapValues.

Option

Description

attributeIndex

Sets which attribute to process. This attribute must be nominal ("first" and "last" are valid values)

firstValueIndex

The index of the first value.("first" and "last" are valid values)

secondValueIndex

The index of the second value.("first" and "last" are valid values)

Capabilities

The table below describes the capabilites of SwapValues.

Capability

Supported

Class

Empty nominal class, Missing class values, Binary class, Date class, Nominal class, Relational class, Numeric class, String class, Unary class, No class

Attributes

String attributes, Date attributes, Relational attributes, Numeric attributes, Binary attributes, Empty nominal attributes, Missing values, Unary attributes, Nominal attributes

Min # of instances

0