best practice using rapidMiner from a program
brolinu
New Altair Community Member
Hi there,
I have read that creating a complete rapidMiner process in Java-Code is depricated and that instead a complete process file should be read in, passed to the com.rapidminer.Process ctor, and started with the Process#run method.
What do you suggest if one needs this to be a bit more dynamic, i.e. if one wants some parameters to be different for each run? Does my program have to create a new process description file each time? Is there another solution?
Thanks!
I have read that creating a complete rapidMiner process in Java-Code is depricated and that instead a complete process file should be read in, passed to the com.rapidminer.Process ctor, and started with the Process#run method.
What do you suggest if one needs this to be a bit more dynamic, i.e. if one wants some parameters to be different for each run? Does my program have to create a new process description file each time? Is there another solution?
Thanks!
0
Answers
-
Hi,
in both cases, you will have a Process object which you can edit at will, but the creation of the Process object via the RapidMiner GUI is much less error-prone.
To edit for example paramters, you can do the following:
Also check the other methods available for Operator objects.
process.getOperator("name").getParameter("");
Regards,
Marco0 -
Thanks, Marco!0