How can I calculate the difference between two consecutive values in an attribut

blatooblatoo Member Posts: 32 Contributor II
edited November 2018 in Help
Hi RapidMiner Team,

I want to calculate the difference between two consecutive values in an attribute, but I do not which operator I can use.

For example: my dataset idspeed115218320430
I want to calculate the difference between two consecutive speed and generate a new attributes names "difference". idspeeddifference115n.a.2183320243010
How can I do this?

Answers

  • awchisholmawchisholm RapidMiner Certified Expert, Member Posts: 458 Unicorn
    Hello

    The "Lag Series" operator is the one to use - this is part of the Series extension so you need to install this additionally.

    regards

    Andrew
  • blatooblatoo Member Posts: 32 Contributor II
    Hi Andrew,

    thanks very much!!! It works!!! ;)
Sign In or Register to comment.