I'm trying to build a model on labeled data that can cluster on a specific field.
Example data:
The field I want to cluster on is class_id. I want to be able to give the model (class_id, date, class_time) and get an estimated time in minutes that a student stays in my class for a specific date and time. I want to cluster by class_id because each class is different in its own way. Is there a model or way that can do this? Thanks!