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
macro concept in programming
Hello. I am looking at the Studio tutorial #4 called Macros and Sampling. Can someone explain in familiar programming language (like Python or Java etc.) what macros are in RapidMiner? I am not really sure. The are said to be variables but I don't think that is the full story. And do they have anything to do with macros in Excel (Word, etc)? Thanks!
0
Best Answer
-
BalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 UnicornHi @wclaster,
macros in RapidMiner are process-global string variables. They aren't related to macros in Excel and Word.
You can define them in the process context, they will act as "process parameters" when executing an existing process from another. This allows you to modularize your process structures.
There are operators to "switch" between macros and example sets. You can use Generate Attribute to take the value of a macro and use it to create attributes using a formula language, for example. Or you use Extract Macro to get data out of an example set.
Regards,
Balázs0
Answers