Options

"Rapidminer Scripting Tutorial"

trailblazertrailblazer Member Posts: 2 Contributor I
edited June 2019 in Help
Hi guys!

I am trying to use the Execute Script block in Rapid Miner but can't find a reference for the Rapid Miner API. Is there a good resource you guys can recommend me?

Example question:

I have two inputs to my script. I found some example scripts and know that:

ExampleSet exampleSet = operator.getInput(ExampleSet.class);

will get me my first input. How do I get my second input???

Answers

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

    you can access them by index, starting from 0:

    ExampleSet exSet1 = intput[0];
    ExampleSet exSet2 = intput[1];
    ExampleSet exSet3 = intput[2];
    //...
    Regards,
    Marco
Sign In or Register to comment.