Parameter Macros

Regular Contributor

Parameter Macros

After much trawling around I found the parameter macro %{experiment_name} which was exactly what I needed, so my question is whether any other such undocumented goodies exist!

Re: Parameter Macros

Hello haddock,

yes, quite a lot, but documenting all of them would actually reduce the fun of finding those goodies ;-)

Just kidding. The macro feature actually is documented. Have a look into the tutorial, Section 3.3, page 48 (you will find two download links on our web site). Beside, there are a lot of undocumented features. We are currently in the process of making most of them less hidden by integrating them better into the program and we are also revising the complete documentation. This, however, will take some time...

So please let us know if you are finding other undocumented features (and also the documented ones ;-) so we can add them on our "to-document-list".


How to load processes in XML from the forum into RapidMiner: Read this!
Regular Contributor

Re: Parameter Macros

Bonsoir Ingo!

Not sure %{experiment_name} does appear on page 48, and from the sources I can now see why. But it sure is useful in my context, so I hope it remains in place.

public class MacroHandler {

// TODO: remove experiment macros later
private static final String[] PREDEFINED_MACROS = {

All that being said, keep up the great work, I've never found datamining to be such fun!

Pip Pip

Re: Parameter Macros

Hello Haddock,

actually the macro %{experiment_name} is indeed not mentioned in the documentation. The reason for that is that a RapidMiner experiment has been renamed to "process" some time ago. As a consequence, the predifined macros that capture properties of the processes (like %{experiment_name}) have been renamed too. The macro %{experiment_name} has hence been replaced by the macro %{process_name} which should be used instead. The old macros are depreceated and might potentially be removed.