Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

"Select Attribute After Loop Attribute"

1705410G1705410G Member Posts: 43 Learner III
edited May 2019 in Help
I would like to use the Select Attribute operator to pick out those that ran through the function inside the Loop Attribute operator(containing Generate Attributes operator). 


However, under the attribute filter type 'Subset', I'm unable to find any of the rename attributes that were created by the Loop Attributes operator. It only contains the original attributes that was before running into the loop. 

Any idea on how I can select my attributes using Select Attribute operator ?

Thanks!

Regards,
AY

Answers

  • lionelderkrikorlionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn
    Hi @1705410G,

    If I make the link with your other thread, your created (inside the Loop Attributes operator) attributes are named "2-Speed_New"
    and more generally "xxxx_New".
    So you can use Select Attributes operator with the attribute filter type = regular_expression
     

    Hope it helps,

    Regards,

    Lionel

  • 1705410G1705410G Member Posts: 43 Learner III
    Hi lionelderkrikor ,

    It worked! Only after I checked the "invert selection" box. However, my original attributes are still there.

    Regards,
    AY
  • lionelderkrikorlionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn
    Hi @1705410G,

    Mmmh, I think you have not been rigorous... :)  
    The exact syntax of the regular expression is :  .*_new [don't forget the "point" at the first place] (or  .*_New or .*_NEW according to the name you gave to your created attributes)

    Regards,

    Lionel 
Sign In or Register to comment.