Skip to content

Commit

Permalink
Fix trainer
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek-Wds authored and you-n-g committed Dec 1, 2020
1 parent 29f12e8 commit fa391e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qlib/model/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fa391e9

Please sign in to comment.