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
IOObjectCollection to ExampleSet after loop
Hi all,
In my project I have used a loop operator and naturally it resulted in a IOObjectCollection. But this collection has some ExampleSets that are empty. Therefore I can't use Append process to get them together. Is there a way to append them somehow? Because it has 258 ExampleSets and manually doing it is a nightmare. I just need the ones with information in it.
Thanks
Tagged:
0
Answers
Can you use a Union or another operator to make an entire set?
Hi Cbaslan,
What kind of empty set do you have? Is there any header? If possible, you can try to put a 'Branch' with condition type on the min_examples. If there is at lease 1 example in the data set, you can keep the data, otherwise discard.
One question for you, can you garantee that all the non-empty exmaple sets have the exactly same headers before we append them? If no issues, you can drop the empty set using Branch and then directly append the resulting collection of objects later.
Here is an example process,
HTH,
YY
Thanks all. I have tried union but no luck there. Actually second answer seems to be the one. Because they have the same header. But here is a newbie question, I cant find how can I use this xml in the new version of RM.
view -> show panel -> XML
The append operator is able to handle exampleset with no rows, abviously you will still have the headers (column names, data types etc)
May be your problem is different number or type of columns?
Append operator expects exact same columns in the sets that you are trying to append