The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
of what use are the left port of the process panel?
Best Answer
-
BalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 UnicornHi!
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ázs3
Answers
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
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