statistics in Extract Macro

hmhsing
hmhsing Altair Community Member
edited November 2024 in Community Q&A

I have a problem while doing the challenge in Rapidminer tutorial "Looping, Branching and Appending." I use min in statistics in Extract Macro to get minimum sample size (which is 277), the problem occured.  It shows: The value '277.0' for the parameter 'condition_value' cannot be used: java.lang.NumberFormatException: for input string: "277.0". The specified value is not possible for this parameter. Please set a proper parameter value.      Can anyone help me with this?  Thanks!

Best Answer

  • hmhsing
    hmhsing Altair Community Member
    Answer ✓

    It worked when I add Generate Macro operator with round(eval(%{macro name defined in Extract Macro})) in functions expressions.

Answers

  • singh_ay
    singh_ay New Altair Community Member

    Facing exactly same issue, I even tried the GENERATE MACRO OPERTOR to "eval" but of no use.

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    Would you please share the XML, I can take a look at it. 

  • hmhsing
    hmhsing Altair Community Member
    Answer ✓

    It worked when I add Generate Macro operator with round(eval(%{macro name defined in Extract Macro})) in functions expressions.

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    Awesome! great to hear!