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.

Access Data

andrea_brandberandrea_brandber Member Posts: 1 Learner II
edited November 2018 in Help

Hello,

i have this data:

Index  Open High

1        4         5

2        6         7

3        8        9

Now i want to generate a new Attribute like

          Open[2] - High[1]

In words: I want access data in a Row before, not in the same Row, like Open-High.

 

Is there a Array-Operator so i can access the data before?

 

Tank you verry much!

 

Best Regars,

 

Andrea

 

 

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,528 RM Data Scientist

    Dear Andrea,

     

    The operator Lag from Time Series extension is able to shift the examples by n. Afterwards youi can go for a Generate Attributes.

     

    ~Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.