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
Removing attributes
Hello everybody!
I'm new to Rapidminer. I was wondering how do you remove attributes from analysis. For instance if I have imported a data file with x1, x2, x3, x4 and y columns and I only want x1 and x2 to be input parameters for the model of y how do I accomplish this? For now I'm just setting column types to attribute for x1 and x2, skip1, skip2 etc. for attributes I want to remove from model and label for y. But I don't thins is a good way to do this. I found AttributeFilter node but I don't how/if I can use it to perform such an operation.
Thanks
I'm new to Rapidminer. I was wondering how do you remove attributes from analysis. For instance if I have imported a data file with x1, x2, x3, x4 and y columns and I only want x1 and x2 to be input parameters for the model of y how do I accomplish this? For now I'm just setting column types to attribute for x1 and x2, skip1, skip2 etc. for attributes I want to remove from model and label for y. But I don't thins is a good way to do this. I found AttributeFilter node but I don't how/if I can use it to perform such an operation.
Thanks
0
Answers
The attribute filter is more for taking out attributes depending on whether some logical condition is met; if you want to take out attributes depending on their name use the FeatureNameFilter ( for most purposes Feature and Attribute mean the same in RM ). Here's something that takes out att3 and att4 - actually if you're used to regular expressions you'll see that pretty well any combo of attributes could get wiped away with not too much work!