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

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

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 Powered by Atlassian Confluence