Skip to content

datastatsgenerator

datastatsgenerator

Module for DataStatsGenerator

Classes

DataStatsGenerator

Bases: ABC

ABC for generating stats in a dataset

Functions
generate_stats abstractmethod
generate_stats(data_info_list, index_list)

Creates stats from a data_info_list and an index list

Source code in niceml/data/datastatsgenerator/datastatsgenerator.py
@abstractmethod
def generate_stats(
    self, data_info_list: List[DataInfo], index_list: List[int]
) -> dict:
    """Creates stats from a data_info_list and an index list"""