Options

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

  • Options
    lionelderkrikorlionelderkrikor Moderator, 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
  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,510 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.