MakeIndicator

Package

weka.filters.unsupervised.attribute

Synopsis

A filter that creates a new dataset with a boolean attribute replacing a nominal attribute. In the new dataset, a value of 1 is assigned to an instance that exhibits a particular range of attribute values, a 0 to an instance that doesn't. The boolean attribute is coded as numeric by default.

Options

The table below describes the options available for MakeIndicator.

Option

Description

attributeIndex

Sets which attribute should be replaced by the indicator. This attribute must be nominal.

numeric

Determines whether the output indicator attribute is numeric. If this is set to false, the output attribute will be nominal.

valueIndices

Specify range of nominal values to act on. This is a comma separated list of attribute indices (numbered from 1), with "first" and "last" valid values. Specify an inclusive range with "-". E.g: "first-3,5,6-10,last".

Capabilities

The table below describes the capabilites of MakeIndicator.

Capability

Supported

Class

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

Attributes

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

Min # of instances

0