🎉 🎉 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

How to end a loop early

AndryehAndryeh Member Posts: 5 Learner I
Near the beginning of my process I loop through a bunch of different examplesets that usually ends up with nothing left if it's not one I want to use. At that point I start getting "Input is missing" problems. Is there anything like the continue statement in Python? How can I handle all these issues without turning my process into a mess?

Best Answer

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 712   Unicorn
    Solution Accepted
    Hi,

    I usually solve this with an outer loop and an inner Branch operator that checks the additional conditions (e. g. break criterion).

    Regards,
    Balázs

Answers

  • AndryehAndryeh Member Posts: 5 Learner I
    Thanks, that's how I've solved it. It seems counter-productive to the whole RapidMiner ethos having to do this. RM is supposed to produce readable processes (ie, boxes and lines rather than code) but by having to bury them all inside subprocesses it makes everything confusing. It's a pain that there seems to be so much thought put into how you can change the flow of data dynamically but there only seems to be small handful of processes that can actually change the order of execution.
    BalazsBarany
Sign In or Register to comment.