🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"Parameter Macros"

User: "haddock"
New Altair Community Member
Updated by Jocelyn
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!

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "IngoRM"
    New Altair Community Member
    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".

    Cheers,
    Ingo

    User: "haddock"
    New Altair Community Member
    OP
    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 = {
    "experiment_name",
    "experiment_file",
    "experiment_path",
    "process_name",
    "process_file",
    "process_path"
    };

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

    Pip Pip
    User: "TobiasMalbrecht"
    New Altair Community Member
    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.

    Regards,
    Tobias