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
Return numbers
marcel_drewes
Member Posts: 3 Learner I
in Help
Hi,
I want to name a return number of ">60% = High" and a return number of "<20% = Low". How can I generate this in the results? I just have the customer ID and the average returns in % for each customer.
Thanks for help!
I want to name a return number of ">60% = High" and a return number of "<20% = Low". How can I generate this in the results? I just have the customer ID and the average returns in % for each customer.
Thanks for help!
0
Best Answer
-
hughesfleming68 Member Posts: 323 UnicornYou need to understand conditions when faced with a problem like this. Keep things simple when first starting out and use the generate attribute operator and break it down into pieces.Take a look at the attached process. It should help you get the result you want. It will generate a table which more or less solves your problem. Use it as an example of how to use function expressions.regards,Alex
6
Answers
I'm not sure to understand :
">60%" of what ?
Can you describe your dataset and explain (by giving an example) what you want to obtain ?
Depending on what you want to do, maybe Generate Attribute and/or Aggregate operator(s) can be helpful....
Regards,
Lionel
I am sorry, I am new here. First let me describe my current excel file, it looks like the following:
Customer:__Return rate:__
A_________64%________
B_________19%________
C_________33%________
D_________82%________
...
and I want to convert it into this:
Customer:__Return rate:__(Return-Class:)
A_________64%________(High Returns)
B_________19%________(Low Returns)
C_________33%________(Mid Returns)
D_________82%________(High Returns)
...
so:
>60% = high
<20% = low
21-59% = mid
Thanks for help!
Here an other example of process which performs what you want to do :
Hope it helps,
Regards,
Lionel
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts