The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Process not attached to a file
How do the relative paths work. I'm trying to save my object file under the same path as the rapidminer process. I'm using the write operator and i'm putting in %{process_file}_%{t}.mod as the object file.
My log then says: WARNING: Process not attached to a file. Resolving against user directory: 'C:\Users\...\model_2010_10_30-PM_07_27_11.mod'.
How do I attach a process to a file? Or if I dont' have to do that, how can I save the object file to the same folder as the process file?
My log then says: WARNING: Process not attached to a file. Resolving against user directory: 'C:\Users\...\model_2010_10_30-PM_07_27_11.mod'.
How do I attach a process to a file? Or if I dont' have to do that, how can I save the object file to the same folder as the process file?
0
Answers
supposed you are using RapidMiner 5.0, process files aren't attached to files any more. Instead they are attached to a repository entry. So you can use the Store operator to store them relatively to the process location in Repository into the repository. We strongly suggest that you use the repository if possible in any way, because it offers a lot of functionality that you won't have if you store it in files.
Greetings,
Sebastian
I see your point. But can you give a workaround for log-files. There are two use-cases I encountered:
a) Storing logfiles at the repository location
b) Storing logfiles at any location but with the same filename as the process.
Best regards,
chero
there's a predefined macro called "process_name" that can be used to access the process name.
Greetings,
Sebastian
that did not work out for me. I used the %{process_name} macro a lot in RM 4.6 but since RM 5.0 it doesn't seem to work properly or the behaviour has changed. I have a very simple experiment. Only the sonar data is retrieved. I try to log the process output and result to two files %{process_name}.log and %{process_name}.res. But
1) the files get named "process_name.log" and "process_name.res" and
2) process_name.res is located in my home dir.
3) process_name.log is located in my rapidminer dir, from where I started "scripts/RapidMinerGUI"
What I want is that the files are located in the same dir as the process file and are called "logtest.log" and "logtest.res".
What am I doing wrong here and how have things changed sind RM 4.6?
Cheers,
Ben
My process file logtest.rmp The resulting output: