Let's suppose we have something like a classification problem. We have a training dataset where every record has its class label. There are several classes and classes don't overlap. The data that model should be making predictions for will be divided into clusters and we know that every cluster corresponds to a single class label from a training set (all points in one cluster are drawn from the same class, but we don't know which one).
Is there a specific name for such kind of problems, where we don't actually have to predict a class label for every record but rather predict class label for a whole cluster? If no, what approaches are best suited for this task?
Of course, we can treat this as a common classification problem just by predicting a class label for every record in a cluster and than choosing the most popular prediction as a prediction for a cluster. But I feel like this approach does not take into account general distribution of features in each cluster so it does not use all the information that is avaliable for prediction