Group metadata

Learn how to group key-value pairs in the dashboard.

When logging metadata passing a dictionary of dictionaries in the metadata parameter will group the metadata into cards in the ZenML dashboard. This feature helps organize metadata into logical sections, making it easier to visualize and understand.

Here's an example of grouping metadata into cards:

from zenml.metadata.metadata_types import StorageSize

log_artifact_metadata(

metadata={

"model_metrics": {

"accuracy": 0.95,

"precision": 0.92,

"recall": 0.90

},

"data_details": {

"dataset_size": StorageSize(1500000),

"feature_columns": ["age", "income", "score"]

In the ZenML dashboard, "model_metrics" and "data_details" would appear as separate cards, each containing their respective key-value pairs.

PreviousAttach metadata to steps

NextSpecial Metadata Types

Last updated 15 days ago