Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
%{process_name} as filename in store operator
Hello,
I'm trying to use the macro %{process_name}_results as the file name for the store operator but the object saved in the repository ends up being called process_name_results, which is not what I'd expected.
How do I set the object name to be the same as the process name?
The operator setup looks like this:
<operator activated="true" class="store" compatibility="5.1.001" expanded="true" height="60" name="Store" width="90" x="380" y="300">
<parameter key="repository_entry" value="%{process_name}_results"/>
</operator>
Any help gratefully recieved.
M.
I'm trying to use the macro %{process_name}_results as the file name for the store operator but the object saved in the repository ends up being called process_name_results, which is not what I'd expected.
How do I set the object name to be the same as the process name?
The operator setup looks like this:
<operator activated="true" class="store" compatibility="5.1.001" expanded="true" height="60" name="Store" width="90" x="380" y="300">
<parameter key="repository_entry" value="%{process_name}_results"/>
</operator>
Any help gratefully recieved.
M.
0
Answers
and welcome to rapidminer (at least it is your first post ).
The correct name of the macro is: process_file, hence worked for me. I can only guess that this is a bug.
@developers: From MacroHandler#getMacro This snippets work only if the process-name contains an ending. If one add a artificial ending when saving a process, it works. Otherwise not (I have tested it).
hope this was helpful,
steffen
Thanks for the welcome. I am new to Rapidminer but I'm really impressed with how quickly it let me get up and running.
That works for me. I didn't find anything in the bug tracker related to that macro. Should I raise one?
M.
yeah, sure. First I wanted to wait for a developer statement, but since they are rather busy it is no mistake to open a ticket. They can still close it as "work as intended" .
I suggest to add a link to this thread.
thank you,
steffen
http://bugs.rapid-i.com/show_bug.cgi?id=473