The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 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.

Parallel execution of subprocesses

HeikoPaulheimHeikoPaulheim Member Posts: 13 Contributor II
edited November 2018 in Help
Hi RapidMiners,

I have written an operator that executes a subprocess with different subsets of the data (like Bagging does, just a bit trickier, since the metadata also changes between the runs - but I eventually got it to work).

Now, my question is: can I execute multiple instances of the subprocess in parallel? If yes, how do I do that? The problem is that there seems to be only one instance of the nested process and its ports, so if I try something like that

PredictionModel model = (PredictionModel) innerModelSink.getData(PredictionModel.class);
in a multithreaded fashion, it breaks.

Any hints and/or templates?

Thank you,


  • Options
    HeikoPaulheimHeikoPaulheim Member Posts: 13 Contributor II
    Hi RapidMiners,

    I found a way around by calling "cloneOperator". However, I am not exactly sure what is happening here (despite the documentation of said method saying "Use this method only if you sure what you are doing."  ;)), so I still appreciate your feedback.

Sign In or Register to comment.