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

machinelearner
machinelearner New Altair Community Member
edited November 2024 in Community Q&A
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

Answers

  • MariusHelf
    MariusHelf New Altair Community Member
    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

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.