How to identify values with min-function?
Hello altogether,
currently I am facing a problem concerning the finding of specific numbers if my examples. What I am trying to achieve is to find the minimum of eight different columns for each row of the example set. Unfortunately it is possible that there is no distinct value for a minimun, e.g. that there are two min's of the same value, thus the generate attribute operator shows a question mark. Is there any work-around for that?
I attached a picture of the data.
P.S. the function used for the generate attribute operator is the following:
if(min([Ge Akr],[Ge Dpl],[Ge Kar],[Ge Pal],[Ge Rol],[Ge St],[Ge TTE])=="",1,min([Ge Akr],[Ge Dpl],[Ge Kar],[Ge Pal],[Ge Rol],[Ge St],[Ge TTE]))
Thank you for your help.
Philipp :-)
Best Answer
-
MartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,525 RM Data Scientist
Hi,
Generate Aggregation shoud be able to get you the minimum and then you check which attribute it is?
Best,
Martin
- Sr. Director Data Solutions, Altair RapidMiner -
Dortmund, Germany0
Answers
Thank you Martin,
that workend perfectly! :-)
Best,
Philipp