of what use are the left port of the process panel?

APAP Member Posts: 35 Contributor II
of what use are the left port of the process panel?



Best Answer

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Solution Accepted
    Hi!

    You can execute processes in other processes as an external subprocess. You can send data to these subprocesses by connecting the port. This input port will then provide the data for the process.

    This is a good approach for modularizing complex projects. You could have a preprocessing sequence that you want to apply to different data sources at different phases of the project. 

    You can easily test such a process (meant to be used as a subprocess) by defining an input example set in the Process Context (View => Panel => Context). You then just take the input from that input connection by connecting the port to the input of your first operator.

    Regards,
    Balázs
    APMartinLiebigMNNikiforos

Answers

  • APAP Member Posts: 35 Contributor II
    Can you give me an example?I don't quite understand
  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Hi,

    here is an example.



    This is just a small process that normalizes incoming data. On the left you see that an input port is connected. On the right, in the Context panel, a data set is assigned to this port (input 1).

    Now you can test the process until you're sure that it does what you want it to do on the sample data. You just run it, it will use the sample data as input.

    Then you can use the same process as a subprocess in another process with Execute Process, without any further changes. The data you put into this subprocess will then be normalized. If the input port is connected in the main process, the sample data will be ignored.

    Regards,
    Balázs
  • APAP Member Posts: 35 Contributor II
    how can you get to the “context”setting?
  • APAP Member Posts: 35 Contributor II
    You mean like an extension of the normal process?Nested outwards
  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Hi,

    you get the Context panel by clicking View => Show Panel => Context.

    Yes, you can reuse an existing process inside another process in a nested way.

    Regards,
    Balázs
Sign In or Register to comment.