Visualizers
zenml.visualizers
special
Initialization of the visualizers module.
The visualizers
module offers a way of constructing and displaying
visualizations of steps and pipeline results. The BaseVisualizer
class is at
the root of all the other visualizers, including options to view the results of
pipeline runs, steps and pipelines themselves.
base_visualizer
Implementation of the base class for all ZenML visualizers.
BaseVisualizer
Base class for all ZenML Visualizers.
Source code in zenml/visualizers/base_visualizer.py
class BaseVisualizer:
"""Base class for all ZenML Visualizers."""
@abstractmethod
def visualize(self, object: Any, *args: Any, **kwargs: Any) -> None:
"""Method to visualize objects.
Args:
object: The object to visualize.
*args: Additional arguments.
**kwargs: Additional keyword arguments.
"""
visualize(self, object, *args, **kwargs)
Method to visualize objects.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
object |
Any |
The object to visualize. |
required |
*args |
Any |
Additional arguments. |
() |
**kwargs |
Any |
Additional keyword arguments. |
{} |
Source code in zenml/visualizers/base_visualizer.py
@abstractmethod
def visualize(self, object: Any, *args: Any, **kwargs: Any) -> None:
"""Method to visualize objects.
Args:
object: The object to visualize.
*args: Additional arguments.
**kwargs: Additional keyword arguments.
"""