RapidMiner 9.7 is Now Available

Lots of amazing new improvements including true version control! Learn more about what's new here.

CLICK HERE TO DOWNLOAD

how to check condition on filter example by joining two macro

sgnarkhede2016sgnarkhede2016 Member Posts: 81 Contributor II
edited July 30 in Help
Hello,
I have total three macros i want to check condition on filter

%{key}      "%{prof_value_1}" i want to genrate this macro like %{prof_value_%{m_cnt}}
product %{key}        CreditCard(%{prof_value_1})    1
how can do that
%{attribute_value_1}==%{prof_value_%{m_cnt}} ?

Answers

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 465   Unicorn
    Hi,

    you can use Generate Macro to resolve the "inner" macro value %{m_cnt}.

    macro name: prof_value_name
    expression: "prof_value_" + %{m_cnt}

    This gives you a macro named prof_value_name with the current m_cnt, which you can use in your comparison.

    Regards,
    Balázs
Sign In or Register to comment.