dataeval.outputs.DuplicatesOutput

class dataeval.outputs.DuplicatesOutput

Output class for Duplicates lint detector.

exact

Indices of images that are exact matches

Type:

Sequence[Sequence[int] | Mapping[int, Sequence[int]]]

near

Indices of images that are near matches

Type:

Sequence[Sequence[int] | Mapping[int, Sequence[int]]]

Notes

  • For a single dataset, indices are returned as a list of index groups.

  • For multiple datasets, indices are returned as dictionaries where the key is the index of the dataset, and the value is the list index groups from that dataset.

data()

The output data as a dictionary.

Return type:

dict[str, Any]

meta()

Metadata about the execution of the function or method for the Output class.

Return type:

ExecutionMetadata