The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"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.