🎉 🎉 RAPIDMINER 9.10 IS OUT!!! 🎉🎉

Download the latest version helping analytics teams accelerate time-to-value for streaming and IIOT use cases.

CLICK HERE TO DOWNLOAD

Dealing with empty examplesets

AndryehAndryeh Member Posts: 5 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 Moderator, RapidMiner Certified Analyst, Member Posts: 1,190   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
  • mschmitzmschmitz Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,120  RM Data Scientist
    I think the only way to stop a loop is Throw Exception and catch it outside of the loop again?
    - Head of Data Science Services at RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.