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

Filtering collection with criteria

pblack476pblack476 Member Posts: 83 Maven
edited February 2020 in Help
I am on a quest to retrieve useful data from PDF.

I already conquered the first battle with the Table Extraction extension. I am now faced with another challenge:

How do I filter out a collection? Let's say I want to ignore examplesets with less than 10 examples in a collection and output a collection of al the other examplesets. How can I go about going that?
Tagged:

Best Answer

Answers

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Hi @pblack476,

    try the Loop Collection operator. 
    In each loop execution you'll get one example set. You can then use for example Extract Macro to determine the number of examples, and conditionally return the example set or not.

    Regards,

    Balázs
  • pblack476pblack476 Member Posts: 83 Maven
    Oh wow. I did not know the branch operator could have empty connections inside. That solves it. I was trying to do just that but it was getting really complex to filter out the "else" examples out.

    Thanks to both of you!
Sign In or Register to comment.