mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-12 15:26:54 +08:00
Fix docs of QlibRecorder
This commit is contained in:
@@ -38,13 +38,13 @@ class QlibRecorder:
|
|||||||
.. code-block:: Python
|
.. code-block:: Python
|
||||||
|
|
||||||
# start new experiment and recorder
|
# start new experiment and recorder
|
||||||
with R.start('test', 'recorder_1'):
|
with R.start(experiment_name='test', recorder_name='recorder_1'):
|
||||||
model.fit(dataset)
|
model.fit(dataset)
|
||||||
R.log...
|
R.log...
|
||||||
... # further operations
|
... # further operations
|
||||||
|
|
||||||
# resume previous experiment and recorder
|
# resume previous experiment and recorder
|
||||||
with R.start('test', 'recorder_1', resume=True): # if users want to resume recorder, they have to specify the exact same name for 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
|
... # further operations
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
|
|||||||
Reference in New Issue
Block a user