"Loop Labels removing label"

rexegrexeg Member Posts: 2 Contributor I
edited June 2019 in Help

Hello I am working with a dataset with polynominal data. Using nominal to binominal I generated 4 attributes for the original label attribute.  I would like to create models for each of these label attributes.  I referenced the 'loop labels' documentation, used set role to set one to 'label'  and the rest to 'label2', 'label3', and so on.  After dragging exa to 'loop labels' with my sub process inside, I get the message "input example set must have special attribute label". This is weird because I have set the roles of 4 attributes as label.  Checking the focus inside the loop labels operator, I discover that the attribute I designated as 'label' is missing and the other three (label2, label3, label4) remain.  Help would be appreciated. I have inserted images illustrating this issue.

 

problem1.PNGAll labels have been setproblem2.PNGInside loop labels, label has been removed

 

Edit: I would also like to point out that the built in tutorial for 'loop labels' also experiences this error.

Best Answer

  • jczogallajczogalla Employee, Member Posts: 144 RM Engineering
    Solution Accepted

    Hello @rexeg,

    RapidMiner only has one special role that is "the" label. Loop Labels uses that mechanic to rotate the label around for the specified label1, label2... custom attribute roles.

    The error that you are getting looks like just a setup error, i.e. you should be able to still run the process and have the desired result. If you look at the tutorial process of Loop Labels, you can see that the same setup error occurs there and it still works.

    The reason is that not all operators can precalculate the meta data completely, leading to some setup errors that will not prevent a process from running.

     

    I hope this helps

    Jan

Answers

  • rexegrexeg Member Posts: 2 Contributor I

    Yes, it appears to still run regardless.  Thanks!

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

    hi @rexeg - just following this thread. Can you please tell me the error you get with the Loop Labels tutorial? I just ran it myself and did not get any errors.


    Thanks.


    Scott

     

Sign In or Register to comment.