1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-30 17:41:18 +08:00

Fix trainer

This commit is contained in:
Jactus
2020-11-30 19:06:23 +08:00
committed by you-n-g
parent 29f12e857f
commit fa391e9658

View File

@@ -28,7 +28,7 @@ def task_train(task_config: dict, experiment_name):
recorder = R.get_recorder()
# generate records: prediction, backtest, and analysis
for record in task_config.get["record"]:
for record in task_config["record"]:
if record["class"] == SignalRecord.__name__:
srconf = {"model": model, "dataset": dataset, "recorder": recorder}
record["kwargs"].update(srconf)