How To Use the Ungroup Models Operator

M_Martin
New Altair Community Member
Hi Colleagues: Can anyone point me in the right direction as to how to use the Ungroup Models Operator? OI am feeding a grouped model into this operator, and a see that a collection of models is coming out of it, but I can't find any documentation that would tell me how to grab the single model within the grouped model that I would like to use further on in my process. Thanks for any guidance! Best wishes, Michael Martin
Tagged:
0
Best Answers
-
Hi @M_Martin,
after ungroup, you get a collection of models/objects. You can use “Select” operator by specifying an index to extract individual model from the collections.
https://docs.rapidminer.com/latest/studio/operators/utility/process_control/collections/select.html
Best,
YY1 -
Hi yyhuang: Thanks very much for your reply - very much appreciated - which seems to solve the problem. Where I went wrong is that I put the Select Operator inside of a Loop Collection operator and when the iteration started, I got an error message stating that the operator expected a model but was receiving an IOObject Collection. Not using the Loop Collection operator looks to have solved my problem. Best wishes! Michael Martin0
Answers
-
Hi @M_Martin,
after ungroup, you get a collection of models/objects. You can use “Select” operator by specifying an index to extract individual model from the collections.
https://docs.rapidminer.com/latest/studio/operators/utility/process_control/collections/select.html
Best,
YY1 -
Hi yyhuang: Thanks very much for your reply - very much appreciated - which seems to solve the problem. Where I went wrong is that I put the Select Operator inside of a Loop Collection operator and when the iteration started, I got an error message stating that the operator expected a model but was receiving an IOObject Collection. Not using the Loop Collection operator looks to have solved my problem. Best wishes! Michael Martin0