dataeval.utils.metadata.Metadata

class dataeval.utils.metadata.Metadata

Dataclass containing binned metadata from the preprocess() function.

discrete_factor_names

List containing factor names for the original data that was discrete and the binned continuous data

Type:

list[str]

discrete_data

Array containing values for the original data that was discrete and the binned continuous data

Type:

NDArray[np.int]

continuous_factor_names

List containing factor names for the original continuous data

Type:

list[str]

continuous_data

Array containing values for the original continuous data or None if there was no continuous data

Type:

NDArray[np.int or np.double] | None

class_labels

Numerical class labels for the images/objects

Type:

NDArray[np.int]

class_names

Array of unique class names (for use with plotting)

Type:

NDArray[Any]

total_num_factors

Sum of discrete_factor_names and continuous_factor_names plus 1 for class

Type:

int