dataeval.core.LabelErrorResult

class dataeval.core.LabelErrorResult

Type definition for label error output.

errors

Potentially mislabeled samples. Dictionary keys are sample index and values are a tuple (assigned_label, suggested_new_label).

Type:

dict[int, tuple[int, list[int]]]

error_rank

Array of samples where the index corresponds to sample index and the value is the rank of the sample’s score

Type:

NDArray[np.int64]

scores

Sample label scores

Type:

NDArray[np.float32]