Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
difference of values
sgenzer
Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
OK I know there is an easy way to do this but cannot get my brain around it. If I have an attribute that contains integers in ascending order but they are not sequential, how do I create a new attribute that shows the difference between each example and the one before it? For example:
att1 delta
1 ?
3 2
4 1
5 1
17 12
20 3
etc..
Thanks.
Scott
0
Best Answer
-
MartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,531 RM Data Scientist
Scott,
the Lag operator is your friend.
Generally speaking: All operations which requiere cross-example operations are rather in the time series extension than in core.
~Martin
- Sr. Director Data Solutions, Altair RapidMiner -
Dortmund, Germany0
Answers
Perfect. Thank you Martin!
Scott
Try the lag operator!