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.

Running RapidMiner Model from my IDE

omereisomereis Member Posts: 4 Contributor I
edited November 2018 in Help
Hi All,
There is a model I've developed in RapidMiner. The model's results sensitive to several parameters.
I'd like to run this model and record the result where the parameters are the arguments.
Running it manually is very tedious and time consuming.
I was wondering if there's a way of running it from and external program, either C++ or Java.

Thanks a lot in advance,
Omer
Tagged:

Answers

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,996 RM Engineering
    Hi,

    if I understood you correctly, you can use a normal RapidMiner process for that. Just change the model parameters from fixed values to macros. You can then for example run the RM process via java and change the macros each time.
    To set a macro as a parameter, just enter

    %{macroName}
    as a parameter value.

    See here for instructions on how to run a RM process via java.

    To change macro values, you can do this:

    MacroHandler handler = operator.getProcess().getMacroHandler();
    handler.addMacro("macroName", "newValue");
    Regards,
    Marco
Sign In or Register to comment.