Can i recall an atrribute with a string an a macro in a function expression?
Plättenzwerg
MemberPosts:2Contributor I
inHelp
I have multiple atrributes in pairs. The actual value and the target Value.
They are named Mi and SET Mi.
I want to create the differenz between them.
The plan was to loop(attribute) the operator genrate Attribute with the function expression %{loop_attribute} - ["SET "#loop_attribute ].
I tried diffrent functions like concat(), attribute() and the help of a second macro, but i cannot find the right expression.
Thanks for your help
Hermann
They are named Mi and SET Mi.
I want to create the differenz between them.
The plan was to loop(attribute) the operator genrate Attribute with the function expression %{loop_attribute} - ["SET "#loop_attribute ].
I tried diffrent functions like concat(), attribute() and the help of a second macro, but i cannot find the right expression.
Thanks for your help
Hermann
0
Best Answer
-
MartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,417RM Data ScientistHi Hermann,
attached is a process showing this. The Generate Attribute equation I use is:eval(%{loop_attribute})-attribute("SET "+%{loop_attribute})
I think you can adapt it from here?
Best,Martin
<参数键= " number_of_attributes " value = " 5 " / >
<参数键= " attributes_upper_bound" value="10.0"/>
<参数键= " number_of_attributes " value = " 5 " / >
<参数键= " attributes_upper_bound" value="10.0"/>Generate an example data set
- Sr. Director Data Solutions, Altair RapidMiner -
Dortmund, Germany1
Answers