Exemple #1
0
    def init_null_classes(self, filename, targetclass):
        """Load species from file and assign NULL values to the targetclass ."""
        class_label_set = ClassLabelSet()
        cls = class_label_set.null_data_collection(filename, targetclass)

        return cls
Exemple #2
0
 def load_classes(self, filename):
     """Load class labels from a tab delimited file."""
     fileExists(filename)
     class_label_set = ClassLabelSet()
     return class_label_set.load_data_collection(filename)