Options
Top5
DaniFigueroa
Member Posts: 2 Newbie
in Help
Hi, I wonder how I can get the Top5 of clients from a database.
I wish you could help me. Thank you
0
Best Answer
-
OptionsBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 UnicornHi!
Usually you can order your clients by the metric you select (e. g. revenue, number of invoices) directly in the database by using ORDER BY.
If not, you can read the whole example set into RapidMiner and use the Sort operator with the selected attribute and sorting direction = decreasing. Then you use "Filter Example Range" with first example = 1 and last example = 5 to only get the top 5.
Regards,
Balázs7
Answers
regards,
Alex