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.
Macro variable for start time of process
Hi, I would like to request a automatic macro variable be created that contains the timestamp of when the process began. I want to be able to automatically create files with related file name that are generated from a given run of the process. e.g. a process creates 3 model files, a weights file, and a process log file. I want them all to have as part of the name %{process_name}_%{process_start_time}.
Right now we have the %{t} macro, which logs the current system time, but the system time will change over the course of a process running. I want to be able to associate all the files written in a given run with each other, and to distinguish them from those generated by a different execution of the same process script run at a different time.
Thanks!
Right now we have the %{t} macro, which logs the current system time, but the system time will change over the course of a process running. I want to be able to associate all the files written in a given run with each other, and to distinguish them from those generated by a different execution of the same process script run at a different time.
Thanks!
0
Answers
isn't it possible to just store the actual system time in another macro at the beginning of the process? I think it should be able to place a [tt]MacroDefinition[/tt] at the beginning of the process which maps the macro [tt]%{t}[/tt] to another macro. Using the newly created macro in the output file operators should do the trick.
Kind regards,
Tobias
Yes, you're right, and I realized that about 2 minutes after posting my original. :-) Sorry for the brain lapse.
Keith