(self, data_instances)
return self.classes
get all classes in data_instances
get all classes in data_instances
get all classes in data_instances
def get_data_classes(self, data_instances):
        """
        get all classes in data_instances
        """
        class_set = None
        if self.has_label:
            num_class, class_list = ClassifyLabelChecker.validate_label(data_instances)
            class_set = set(class_list)
        self._synchronize_classes_list(class_set)
        return self.classes
def get_data_classes ( self , data_instances ) : class_set = None if self . has_label : num_class , class_list = ClassifyLabelChecker . validate_label ( data_instances ) class_set = set ( class_list ) self . _synchronize_classes_list ( class_set ) return self . classes