tfds.visualization.show_statistics
Display the datasets statistics on a Colab/Jupyter notebook.
tfds.visualization.show_statistics(
ds_info: dataset_info.DatasetInfo,
split: splits.Split = splits.Split.TRAIN,
disable_logging: bool = True
) -> None
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)
Args |
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[]]