Experiment Trackers
zenml.experiment_trackers
Experiment trackers let you track your ML experiments.
They log the parameters used and allow you to compare between runs. In the ZenML world, every pipeline run is considered an experiment, and ZenML facilitates the storage of experiment results through ExperimentTracker stack components. This establishes a clear link between pipeline runs and experiments.
Attributes
__all__ = ['BaseExperimentTracker']
module-attribute
Classes
BaseExperimentTracker(name: str, id: UUID, config: StackComponentConfig, flavor: str, type: StackComponentType, user: Optional[UUID], workspace: UUID, created: datetime, updated: datetime, labels: Optional[Dict[str, Any]] = None, connector_requirements: Optional[ServiceConnectorRequirements] = None, connector: Optional[UUID] = None, connector_resource_id: Optional[str] = None, *args: Any, **kwargs: Any)
Bases: StackComponent
, ABC
Base class for all ZenML experiment trackers.
Source code in src/zenml/stack/stack_component.py
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 |
|
Attributes
config: BaseExperimentTrackerConfig
property
Returns the config of the experiment tracker.
Returns:
Type | Description |
---|---|
BaseExperimentTrackerConfig
|
The config of the experiment tracker. |
Modules
base_experiment_tracker
Base class for all ZenML experiment trackers.
Classes
BaseExperimentTracker(name: str, id: UUID, config: StackComponentConfig, flavor: str, type: StackComponentType, user: Optional[UUID], workspace: UUID, created: datetime, updated: datetime, labels: Optional[Dict[str, Any]] = None, connector_requirements: Optional[ServiceConnectorRequirements] = None, connector: Optional[UUID] = None, connector_resource_id: Optional[str] = None, *args: Any, **kwargs: Any)
Bases: StackComponent
, ABC
Base class for all ZenML experiment trackers.
Source code in src/zenml/stack/stack_component.py
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 |
|
config: BaseExperimentTrackerConfig
property
Returns the config of the experiment tracker.
Returns:
Type | Description |
---|---|
BaseExperimentTrackerConfig
|
The config of the experiment tracker. |
BaseExperimentTrackerConfig(warn_about_plain_text_secrets: bool = False, **kwargs: Any)
Bases: StackComponentConfig
Base config for experiment trackers.
Source code in src/zenml/stack/stack_component.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
|
BaseExperimentTrackerFlavor
Bases: Flavor
Base class for all ZenML experiment tracker flavors.
config_class: Type[BaseExperimentTrackerConfig]
property
Config class for this flavor.
Returns:
Type | Description |
---|---|
Type[BaseExperimentTrackerConfig]
|
The config class for this flavor. |
implementation_class: Type[StackComponent]
abstractmethod
property
Returns the implementation class for this flavor.
Returns:
Type | Description |
---|---|
Type[StackComponent]
|
The implementation class for this flavor. |
type: StackComponentType
property
Type of the flavor.
Returns:
Name | Type | Description |
---|---|---|
StackComponentType |
StackComponentType
|
The type of the flavor. |