RapidMiner 9.7 is Now Available

Lots of amazing new improvements including true version control! Learn more about what's new here.

CLICK HERE TO DOWNLOAD

How to use breakpoints to debug your RapidMiner process

sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,926  Community Manager

 Breakpoints are SUPER USEFUL. They allow you to “pause” a process before it gets to the end so you can see what’s going on – at that particular point in your process. For example, open up Samples -> processes -> 01_Learner -> 01_DecisionTree.

 

image001.png

 

If you press PLAY, you will just see the result as normal:

 

Screen Shot 2018-08-07 at 11.22.45 AM.png

 

But say you want to see the data set BEFORE it goes into the Decision Tree operator – HERE:

 

Screen Shot 2018-08-07 at 11.21.33 AM.png

So that’s when you use a “breakpoint” – it allows you to pause the process before getting to the finish line. You do this as follows:

 

  1. Right-click the Retrieve operator and select “Breakpoint After” (or select the operator and press F7 on your keyboard).

Screen Shot 2018-08-07 at 11.25.57 AM.png 

    2. You should see a small red arrow now inside the Retrieve operator. This is indicating that you have placed a breakpoint.

 

 Screen Shot 2018-08-07 at 11.27.23 AM.png

 

Now press PLAY. You should see this:

 
Screen Shot 2018-08-07 at 11.29.37 AM.png

 

If you press PLAY (current in “pause”) again, you will see the final result as before.

 

To remove breakpoints, just right-click and select Breakpoint After again.

 

That's it! Super handy. Enjoy!


Scott

 

Tagged:
Sign In or Register to comment.