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
"Filter of highest values?"
Hello,
I read the doc. but did not find the right answer.
Filter rows with the 5 highest values of an attribute?
Would this be possible possible?
Is there an expression?
I think it could be some kind of cascading filters or easier with a math expression (max etc.), but have no idea how to do so.
I'm also interested in a unique-filter (no duplicated values of an attribute).
Thank you.
Tagged:
0
Answers
If you want the Top 5 values you could use a Sort operator and then a Filter Example Range operator. Sorty for decscending direction and then use 1 to 5 for the Filter Example Range.
Thank you Thomas,
unfortunately this gives me with parameter first example=1 and last example=2
240 rows. I also noticed that in my case, operator "Generate id" produces duplicated ids...
http://docs.rapidminer.com/studio/operators/blending/examples/filter/filter_example_range.html
PS: I try to write performance data of your modified example to a Sqlite-db.
It seems I have to use db-mode 'overwrite'...hm a little strange, since I want to produce an archive.
I guess RM writes sequentially into the db. So I would need some kind of caching (maybe).
I'm aware of remember & recall. But how to trigger recall only if validation has finished?
Would this be macro stuff?