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
"Loop until the exampleset is empty."
Hi,
I'm trying to find the operator/s that I could use to execute a subprocess repeatedly until a certain exampleset is empty. I have a feeling that it should be the 'Loop Until'. However, it requires a performance input which I don't have. I also searched the forum but couldn't find any answer.
Any idea?
thanks.
I'm trying to find the operator/s that I could use to execute a subprocess repeatedly until a certain exampleset is empty. I have a feeling that it should be the 'Loop Until'. However, it requires a performance input which I don't have. I also searched the forum but couldn't find any answer.
Any idea?
thanks.
Tagged:
0
Answers
Here's a test process to illustrate my objective. It uses the Loop Until operator. However, it doesn't work. There's the error that there's no data delivered to the port Loop Until.performance. Is the Loop Until operator the right choice for this?
thanks.
Thanks for the reply. However, what I want is a little different. I want to perform the loop while a certain exampleset inside that loop is not empty. That means the loop stops when that exampleset is empty. It doesn't need the count of the exampleset. It looks to me that the operator Loop Until will do the trick. It checks an exampleset inside for criteria. But it also needs a performance input which is giving me an error (or bug).
thanks again.
you could use the "Extract Performance" Operator to extract a performance vector from your example set's properties.
Even if you don't need it in the end, you can deliver this dummy performance object to the port to satisfy it's condition.
But I guess you can use it to extract the number of examples as performance and use the conditions of Loop Until to abort if no examples are left.
Greetings,
Sebastian