Pages: [1]
  Print  
Author Topic: Parameter Macros  (Read 2760 times)
haddock
Hero Member
*****
Posts: 853



WWW
« on: May 26, 2008, 03:58:12 PM »

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!
Logged

Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?

T.S.Eliot ~ Choruses from the Rock 1934
Ingo Mierswa
Administrator
Hero Member
*****
Posts: 1226



WWW
« Reply #1 on: May 26, 2008, 06:14:28 PM »

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

Logged

Did you try our new Marketplace? Upload or download new Extensions, add comments, and organize your operators. Have a look at  http://marketplace.rapid-i.com
haddock
Hero Member
*****
Posts: 853



WWW
« Reply #2 on: May 26, 2008, 09:49:34 PM »

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
Logged

Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?

T.S.Eliot ~ Choruses from the Rock 1934
Tobias Malbrecht
Global Moderator
Sr. Member
*****
Posts: 293



WWW
« Reply #3 on: May 26, 2008, 10:03:09 PM »

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
Logged

Tobias Malbrecht
Director of Product Marketing
RapidMiner
Pages: [1]
  Print  
 
Jump to: