Options

best practice using rapidMiner from a program

brolinubrolinu Member Posts: 2 Contributor I
edited November 2018 in Help
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!
Tagged:

Answers

  • Options
    Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,993 RM Engineering
    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
  • Options
    brolinubrolinu Member Posts: 2 Contributor I
    Thanks, Marco!
Sign In or Register to comment.