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

Package

weka.filters.unsupervised.attribute

Synopsis

This instance filter takes a range of N numeric attributes and replaces them with N-1 numeric attributes, the values of which are the difference between consecutive attribute values from the original instance. eg:

Original attribute values

0.1, 0.2, 0.3, 0.1, 0.3

New attribute values

0.1, 0.1, -0.2, 0.2

The range of attributes used is taken in numeric order. That is, a range spec of 7-11,3-5 will use the attribute ordering 3,4,5,7,8,9,10,11 for the differences, NOT 7,8,9,10,11,3,4,5.

Options

The table below describes the options available for FirstOrder.

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

Capabilities

The table below describes the capabilites of FirstOrder.

Capability

Supported

Class

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

Attributes

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

Min # of instances

0

  • No labels