Access Keys:
Skip to content (Access Key - 0)

Package

weka.filters.supervised.attribute

Synopsis

Converts all nominal attributes into binary numeric attributes. An attribute with k values is transformed into k binary attributes if the class is nominal (using the one-attribute-per-value approach). Binary attributes are left binary, if option '-A' is not given.If the class is numeric, k - 1 new binary attributes are generated in the manner described in "Classification and Regression Trees" by Breiman et al. (i.e. taking the average class value associated with each attribute value into account)

For more information, see:

L. Breiman, J.H. Friedman, R.A. Olshen, C.J. Stone (1984). Classification and Regression Trees. Wadsworth Inc.

Options

The table below describes the options available for NominalToBinary.

Option Description
binaryAttributesNominal Whether resulting binary attributes will be nominal.
transformAllValues Whether all nominal values are turned into new attributes, not only if there are more than 2.

Capabilities

The table below describes the capabilites of NominalToBinary.

Capability Supported
Class Date class, Numeric class, Binary class, Nominal class
Attributes String attributes, Empty nominal attributes, Relational attributes, Missing values, Date attributes, Nominal attributes, Numeric attributes, Unary attributes, Binary attributes
Min # of instances 0

This documentation is maintained by the Pentaho community, and members are encouraged to create new pages in the appropriate spaces, or edit existing pages that need to be corrected or updated.

Please do not leave comments on Wiki pages asking for help. They will be deleted. Use the forums instead.

Adaptavist Theme Builder (4.2.0) Powered by Atlassian Confluence 3.3.3, the Enterprise Wiki