LabelStatsOutput#

class dataeval.metrics.stats.LabelStatsOutput(label_counts_per_class: dict[str | int, int], label_counts_per_image: list[int], image_counts_per_label: dict[str | int, int], image_indices_per_label: dict[str | int, list[int]], image_count: int, class_count: int, label_count: int)#

Output class for labelstats() stats metric

label_counts_per_class#

Dictionary whose keys are the different label classes and values are total counts of each class

Type:

dict[str | int, int]

label_counts_per_image#

Number of labels per image

Type:

list[int]

image_counts_per_label#

Dictionary whose keys are the different label classes and values are total counts of each image the class is present in

Type:

dict[str | int, int]

image_indices_per_label#

Dictionary whose keys are the different label classes and values are lists containing the images that have that label

Type:

dict[str | int, list]

image_count#

Total number of images present

Type:

int

class_count#

Total number of classes present

Type:

int

label_count#

Total number of labels present

Type:

int