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

Dealing with empty examplesets

AndryehAndryeh Member Posts: 8 Learner I
I have a loop which sorts the examples into sets and once it's done a few other things it has a branch operator to decide it the set should be used or discarded. What I want to do in the loop is just end the loop prematurely and discard the exampleset as if it never existed. I'm having problem with this part.

I'm using Filter Examples to remove all the rows but it seems an empty object is still being output from the loop. When I view the result as a collection I hvae loads of empty objects. I tried to append the resulting collection but it says that the examples are different sizes.

I'd appreciate any advice, thanks.

Answers

  • lionelderkrikorlionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn
    Hi @Andryeh,

    Mmh, can you provide  : 

     - an example of you have initially
     - an example of what you want to obtain

    It will be very useful to understand what you want to do.

    Have a nice day,

    Regards,

    Lionel
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    I think the only way to stop a loop is Throw Exception and catch it outside of the loop again?
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.