Skip to main content

Recorder


Introdcution

Qlib Recorder is designed to help users handle experiments and efficiently analyze results. There are three main components in Qlib Recorder:

  • ExperimentManager
  • Experiment
  • Recorder

Qlib Recorder

Here are the available interfaces of QlibRecorder:

# start new experiment and recorder
with R.start(experiment_name='test', recorder_name='recorder_1'):
    model.fit(dataset)
    R.log...
    ... # further operations

# resume previous experiment and recorder
with R.start(experiment_name='test', recorder_name='recorder_1', resume=True): # if users want to resume recorder, they have to specify the exact same name for experiment and recorder.
    ... # further operations