tfds.show_statistics

Display the datasets statistics on a Colab/Jupyter notebook.

tfds.show_statistics is a wrapper around tensorflow_data_validation which calls tfdv.visualize_statistics. Statistics are displayed using FACETS OVERVIEW.

Usage:

builder = tfds.builder('mnist')
tfds.show_statistics(builder.info)

Or:

ds, ds_info = tfds.load('mnist', with_info)
tfds.show_statistics(ds_info)

ds_info The tfds.core.DatasetInfo object containing the statistics.
split Split for which generate the statistics.
disable_logging bool, if True, disable the tfdv logs which can be too verbose.

None