Base abstraction in progress! We are actively working on the base abstraction for the Experiment Tracker, which will be available soon. As a result, their extension is not recommended at the moment. When you are selecting an Experiment Tracker for your stack, you can use one of the existing flavors. If you need to implement your own Experiment Tracker flavor, you can still do so, but keep in mind that you may have to refactor it when the base abstraction is released.Documentation Index
Fetch the complete documentation index at: https://zenml.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Build your own custom experiment tracker
If you want to create your own custom flavor for an experiment tracker, you can follow the following steps:- Create a class which inherits from the
BaseExperimentTrackerclass and implement the abstract methods. - If you need any configuration, create a class which inherits from the
BaseExperimentTrackerConfigclass add your configuration parameters. - Bring both of the implementation and the configuration together by inheriting from the
BaseExperimentTrackerFlavorclass.
- The CustomExperimentTrackerFlavor class is imported and utilized upon the creation of the custom flavor through the CLI.
- The CustomExperimentTrackerConfig class is imported when someone tries to register/update a stack component with this custom flavor. Especially, during the registration process of the stack component, the config will be used to validate the values given by the user. As
Configobject are inherentlypydanticobjects, you can also add your own custom validators here. - The CustomExperimentTracker only comes into play when the component is ultimately in use.
CustomExperimentTrackerFlavor and the CustomExperimentTrackerConfig are implemented in a different module/path than the actual CustomExperimentTracker).