The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

How to compute a growth rate function?

Mining_KrilinMining_Krilin Member Posts: 2 Learner II
edited November 2018 in Help



How to compute a growth rate function?





Hello community,

I'm a new RapidMiner user and I need help about a subject.

We have a large dataset and I need to make a function which use some attributes:

- attribute

- year

 

The function will calculate the rate like this:

[attribute(year)-attribute(year-1)]*100/attribute(year-1)

 

I've tried with the extension Python but it doesn't work.

For example:

Year               attribute          functionresult

2001              100                 N/A

2002              110                 +10%

2003              133                 +20% 

 

I hope that I were clear. 

Thanks for your help.

Your Fab


Tagged:

Best Answer

  • Telcontar120Telcontar120 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    Solution Accepted

    Take a look at the Series extension and the Lag operator, along with Generate Attributes.  That should take care of this for you.

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
Sign In or Register to comment.