mirror of
https://github.com/microsoft/qlib.git
synced 2026-06-06 14:01:28 +08:00
get_recorder() needs specify 'recorder_id='. However workflow_by_code.ipynd
didn't. This patch fixes it.
Without this fix, here is the error message jupyter-notebook reports:
"---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-7-e6a7b5f4da00> in <module>
26 # backtest and analysis
27 with R.start(experiment_name="backtest_analysis"):
---> 28 recorder = R.get_recorder(rid, experiment_name="train_model")
29 model = recorder.load_object("trained_model")
30
TypeError: get_recorder() takes 1 positional argument but 2 positional arguments (and 1 keyword-only argument) were given"
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Requirements
Here is the minimal hardware requirements to run the workflow_by_code example.
- Memory: 16G
- Free Disk: 5G
NOTE
The results will slightly vary on different OSs(the variance of annualized return will be less than 2%).
The evaluation results in the README.md page are from Linux OS.