no need to keep the instances in a set in InstanceClassifier