Save the date! Google I/O returns May 18-20 Register now

model_card_toolkit.Graphics

A collection of graphics.

Each graphic in the collection field has both a name and an image. For instance, you might want to display a graph showing the number of examples belonging to each class in your training dataset:


model_card.model_parameters.data.train.graphics.collection = [
  {'name': 'Training Set Size', 'image': training_set_size_barchart},
]

Then, provide a description of the graph:


model_card.model_parameters.data.train.graphics.description = (
  'This graph displays the number of examples belonging to each class ',
  'in the training dataset. ')

description The name of the dataset.
collection A collection of graphics.

Methods

__eq__

description None