Rapidminer Scripting Tutorial

trailblazertrailblazer Member Posts: 2 Contributor I
edited November 2018 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???
Tagged:

Answers

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Moderator, Employee, Member, University Professor Posts: 1,750   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.