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 first n attributes from example set
Dear all,
Is there an efficient way to select first n attributes from an example set? In my process I have reordered the attributes in ascending way. Now I want to proceed with just the first 5 attributes.
I was thinking of several combinations of "select attributes", "work ok subset", "branch", "loop attributes" but none of them worked.
Looking forward to any comments!
Best regards
Sachs
0
Best Answer
-
qwertz2 Member Posts: 49 Maven
Wonder why I haven't seen this operator before but "remove attribute range" is the operator that solves my problem! It can be combined with "extract macro" to count the number of attributes first.
1
Answers
Hi,
i would go for: Filter Examples (remove all), Transpose, Filter Examples Range (Select the atts you want), Transpose, Data to Weights. The result is a weight vector you can apply with Select by Weights to your original data set.
~Martin
Dortmund, Germany
Hi Martin,
Thanks for your help. That's indeed a good approach that could work but unfortunately not in my case. My example set has many many many attributes and just a few examples. Once I transpose the example set I exceed my license of 10.000 examples as there are even more attributes...
Best regards
Sachs