The Altair Community and the RapidMiner community is on read-only mode until further notice. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here.
Options
"Any way to write equation inside of Filter Examples parameter string?"
![machinelearner](https://us.v-cdn.net/6030995/uploads/defaultavatar/nCCNNSPK1YM69.jpg)
![](https://s3.amazonaws.com/rapidminer.community/vanilla-rank-images/contributor-16x16.png )
Hey all,
Sorry if this has been covered before and I just missed it but I have a process where I want to loop for a certain number of iterations and want to increment what I am filtering by the iteration macro or adding the iteration to some value. So for example I am filtering examples by year and want to do something inside the parameter string like year = 2008 + %{iteration_count} . However this obviously doesnt work because rapidminer keeps throwing an error so is there a more correct way to do this sort of incremenal filtering using macros?
Thanks
Sorry if this has been covered before and I just missed it but I have a process where I want to loop for a certain number of iterations and want to increment what I am filtering by the iteration macro or adding the iteration to some value. So for example I am filtering examples by year and want to do something inside the parameter string like year = 2008 + %{iteration_count} . However this obviously doesnt work because rapidminer keeps throwing an error so is there a more correct way to do this sort of incremenal filtering using macros?
Thanks
Tagged:
0
Answers
you can use the Generate Macro operator to create a new macro from your formula "2008 + %{current_iteration}", and use the new macro in the filter examples operator.
Best,
Marius