Add Records to an Experiment Recorder
Last updated
Was this helpful?
Last updated
Was this helpful?
In this article, we will go over recording experiment data through the experiment recorder during the model training (experiment) step. The instructions to create an experiment recorder are .
An ExperimentRecorder
has the following key methods:
start()
: start the model training and should be called just before the model training code begins executing.
stop()
: end the model training and should be called right after the model training code has finished.
add_record({"key": value})
: The API used to record metrics with MarkovML. Here key
could be any string
and value
could be any numeric
value. The add_record
should be called the training loop to record metrics like loss
and accuracy
. These recorded metrics will be available as charts in the MarkovML app.
Follow the sample code pattern below to add records to the experiment tracking recorder.
Markov has easy integrations with many popular machine-learning frameworks. Please refer to the on the next page for details.