I have tabular data about students and would like to predict who is best in class.
student class attribute1 attribute2 attribute3 ... attribute30 target John 1 ... is_best Anna 1 ... is_not_best ... Peter 1 ... is_not_best Amir 2 ... is_not_best Ahmed 2 ... is_not_best ... Aalyia 2 ... is_best Kim 3 ... is_not_best Seojeon 3 ... is_not_best ... yuri 3 ... is_best ...
The problem is that I want to predict for each class of students.
If I just take a normal tabular model, then the class is just an attribute. In other words I want to know who is best in this class and not who is best in general. Given this, class who is the best, so to say.
For example Lea might be very good but her class is exceptional and is only in the top 3, wheras Mia is not that good in absolute terms but is on top of her class.
There is no absolute reference.
Any experiences or advice with training such data?