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

Package

weka.filters.unsupervised.attribute

Synopsis

A filter for turning numeric attributes into nominal ones. Unlike discretization, it just takes all numeric values and adds them to the list of nominal values of that attribute. Useful after CSV imports, to enforce certain attributes to become nominal, e.g., the class attribute, containing values from 1 to 5.

Options

The table below describes the options available for NumericToNominal.

Option

Description

attributeIndices

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".

debug

Turns on output of debugging information.

invertSelection

Set attribute selection mode. If false, only selected (numeric) attributes in the range will be 'nominalized'; if true, only non-selected attributes will be 'nominalized'.

Capabilities

The table below describes the capabilites of NumericToNominal.

Capability

Supported

Class

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

Attributes

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

Min # of instances

0

  • No labels