Options

"Any way to write equation inside of Filter Examples parameter string?"

machinelearnermachinelearner Member Posts: 2 Contributor I
edited June 2019 in Help
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
Tagged:

Answers

  • Options
    MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Hi,

    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
Sign In or Register to comment.