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
Running Sum & Running Sumif
Hello Everyone
This is my first post and I am very new to Rapidminer. I'm sorry if I don't describe this well but I will do my best. I won't go into great detail about what I am trying to achieve straight off, but I will ask if something is possible:
I've loaded a dataset into Rapidminer and set up a process - the data is a list of customers, the store they belong to and the postal area they reside in. I have aggregated the data into groups of stores and postal areas with a count of customers.
I would now like to add another column/field that is a running sum down (based on the count of customers) the table, or better still a running sumif (based on store). I've searched but can't find any process that will give me this result.
Is this possible? Any help for a new user is much appreciated.
This is my first post and I am very new to Rapidminer. I'm sorry if I don't describe this well but I will do my best. I won't go into great detail about what I am trying to achieve straight off, but I will ask if something is possible:
I've loaded a dataset into Rapidminer and set up a process - the data is a list of customers, the store they belong to and the postal area they reside in. I have aggregated the data into groups of stores and postal areas with a count of customers.
I would now like to add another column/field that is a running sum down (based on the count of customers) the table, or better still a running sumif (based on store). I've searched but can't find any process that will give me this result.
Is this possible? Any help for a new user is much appreciated.
0
Answers
So great, I now have a running sum. The next step for me is to generate this running sum like a sum if, so I have around 8 stores in this list and I want to carry out the running sum for each. When the calculation gets to a new store in the list I want it to start the running sum again.
Any help from anyone with this is much appreciated. I will continue to also try and work it out for myself too!
what about loop values, **** sum and append? Seems a way to go for me.
~Martin
Dortmund, Germany
Dortmund, Germany
Thanks for replying to my post with an answer. I'm afraid I have only just started using RapidMiner so could you please provide a small explanation about what you're suggesting. I'm unfamiliar with the code you have provided so could you just go into a little more detail about the process you have suggested?
Thanks in advance for this and sorry to be a pain.
if you add the XML panel (View Show Panel) to your layout, than you can copy my XML over and press the green check mark. Afterwards you can see my process. This is the easiest way to share processes
~Martin
Dortmund, Germany
Many Thanks