Put simply, I have thousands of users and a number associated with each user. Let’s say the number represents their activity on a website.
I have another list of numbers (cutoffs) and an associated descriptor.
200, very active
100, somewhat active
I want to match these such that every user is given the appropriate descriptor: match the users to the descriptor that is closest without going over.
Anna, 202, very active
Bob, 109, somewhat active
Charlie, 146, somewhat active
Don, 106, somewhat active
Emily, 68, inactive
Fernando, 170, active
Any ideas on how I can implement this in Parabola? Thanks!