dataeval.metrics.stats.LabelStatsOutput¶
- class dataeval.metrics.stats.LabelStatsOutput¶
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[int, int]
- image_counts_per_class¶
Dictionary whose keys are the different label classes and values are total counts of each image the class is present in
- Type:¶
dict[int, int]
- image_indices_per_class¶
Dictionary whose keys are the different label classes and values are lists containing the images that have that label
- Type:¶
dict[int, list]
- to_dataframe()¶
Exports the label statistics output results to a pandas DataFrame.
Notes
This method requires pandas to be installed.
- Return type:¶
pd.DataFrame
- property meta : ExecutionMetadata¶
Metadata about the execution of the function or method for the Output class.
- Return type:¶