I have the below dataset:
device_id A B C Current Class
1 70 35 40 C
2 45 90 34 B
Now each device has a score within each class( A,B,C) and it is currently a part of a certain class. Based on the class for which it has the highest score , a class change will either be recommended or not.
For example, device 1 is in class C but it's highest score is in class A and hence it's recommended class will be A.
Expected output:
device_id A B C Current Class Class Change Recommended
1 70 35 40 C Yes A
2 45 90 34 B No B
Can someone please help me with this??