Create Experiment Recorder
Markov uses Recorder objects to record data into the MarkovML backend. Recording data from a model training experiment with MarkovML is a three-step process.
Create an experiment recorder object.
Add experiment records to the recorder to send to the MarkovML backend.
Call finish on recorder object to signal to finish of a recording.
When you create an experiment recorder, you'll provide a name for the training session, the ID of the relevant Project, as well as any relevant hyper-parameter values used in the model training. You may also add any notes you'd like to save with the experiment. See the code example below for more details.
Before creating the experiment recorder, get a reference to a Project (to specify the project ID) and define the hyper-parameters used for your model training.
Follow the sample code below to create an experiment tracking recorder:
Note: The hyper_parameters
field for the recorder can take any key-value pairs you want to register with the recorder as a hyper-parameter.
When an experiment recorder is instantiated, two new resources are created in MarkovML:
An Experiment
A Model object.
This Model object is a placeholder to store a pointer to the artifact generated from the training session in the future. After creating the recorder, we can send the experimentation data to MarkovML. Please refer to the next page for further instructions.
Last updated
Was this helpful?