best practice using rapidMiner from a program

brolinu
brolinu New Altair Community Member
edited November 5 in Community Q&A
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!

Answers

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    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:

    process.getOperator("name").getParameter("");
    Also check the other methods available for Operator objects.

    Regards,
    Marco
  • brolinu
    brolinu New Altair Community Member
    Thanks, Marco!