"Rapidminer Scripting Tutorial"

trailblazer
trailblazer New Altair Community Member
edited November 2024 in Community Q&A
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

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    you can access them by index, starting from 0:

    ExampleSet exSet1 = intput[0];
    ExampleSet exSet2 = intput[1];
    ExampleSet exSet3 = intput[2];
    //...
    Regards,
    Marco