The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"rename the extension
Hi,
how can be called the colums with the extension "...-0" after windowing with label1, label2 etc.?
I suppose with loop or macro.(?)
The new version of RM is now an invitation to learning by doing - a great tool!
Greating to Dortmund
WinKad
how can be called the colums with the extension "...-0" after windowing with label1, label2 etc.?
I suppose with loop or macro.(?)
The new version of RM is now an invitation to learning by doing - a great tool!
Greating to Dortmund
WinKad
Tagged:
0
Answers
perhaps the operator "Rename by Replacing" could be used to do this job. If you keep the last number from the original attribute names this might work.
Regards,
Matthias
excuse me, I see, my question was not correct. What I mean is not to change the name but with "Set Role" to set label1, label2 etc.
I think, this can be done with macro, but I don't know how to do this. There are plenty changes to be done.
Beside this, where can I get a deeper information about the usage of macros?
Till now, I solve this problem by hand: under a "Subprocess" I set the endings with "-0" after windowing by chaining SetRoles for label01, for label02 and so on.
And thanks for your reply.
Greetings from Göttingen
Winkad
I'm new to rapidminer too and I'm using the MyExperimentBrowser view (need to install the Community extension) to look at examples. It helped me a lot to understand the usage of macros.
I didn't extactly understood what you'd like to do. Colud you post a simple process which explains your problem please?
Ciao Sebastian
I can't understand what is wrong. Here is my program: Could you help me?
Winkad
maybe this example helps. You could also use a proper regular expression in the loop attributes operator. However this one you need to find on your own ;-) Since you have very specific questions which need to much time to provide a comprehensive answer, you might be interessted in a RapidMiner support subscription. Please let me know if you would like to get further information about our support services.
Ciao Sebastian
thank you for reply.
To close this topic I add the following which aswered my question from the beginning:
The key is "att.*|att..*" in connection with Set Role with %{loop_attribute} under name and label%[a} under target.
I am a lonely fighter and have the ambition, to find out much for myself. Once more thanks.
Winkad
thanks for sharing your solution!
Bye Sebastian
P.s try the "[code ] ... [/code ]" environment for program code