Hitachi Vantara Pentaho Community Wiki
Access Keys:
Skip to content (Access Key - 0)




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.


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


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

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