Hitachi Vantara Pentaho Community Wiki
Child pages
  • NominalToBinary
Skip to end of metadata
Go to start of metadata

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

  • No labels