🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Select Attributes by reading a file?

User: "hughesfleming68"
New Altair Community Member
Updated by Jocelyn

I don't think there is a way to do this so I am wondering how difficult this might be to do with some scripting or even an extension. I have an external application that generates inputs and then does some of its own feature selection which I can write to a text file.

 

In Rapidminer, I have all the attributes and a select attribute operator but no way to drive that selection without manually chosing which attributes I would like to use. What I would like to do is read a list and tell the select attibute operator to use those attributes.

 

Is there another way to approach this that I might have missed?

 

Kind regards,

 

Alex

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Thomas_Ott"
    New Altair Community Member

    Can you use the Reg Ex function from the Select Attributes operator? For example, if you want to read only attributes starting with RT, then it could be RT.*?

    User: "Telcontar120"
    New Altair Community Member

    If you can create a dataset of the attribute names (using the text file from the other program) then you should be able to use it with Loop Examples and use a macro to grab those names one example at a time and feed them into another Loop Attributes to select the attributes one at a time and then put them all back together again with joins.  I think that would do what you want (although there may certainly be a more elegant solution out there!).

     

     

    User: "hughesfleming68"
    New Altair Community Member
    OP

    Thanks to both Thomas and Brian,

     

    I will play around with both options and see how things work. There is always something new to learn. This is an amazing forum.

     

    Kind regards,

     

    Alex