1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-14 16:26:55 +08:00

simplify signal parameter

This commit is contained in:
Young
2021-10-15 14:04:21 +00:00
parent 12f05c7182
commit 052aad7982
40 changed files with 160 additions and 98 deletions

View File

@@ -146,8 +146,7 @@ def backtest_analysis(pred, rid, uri_path: str = None):
"class": "TopkDropoutStrategy",
"module_path": "qlib.contrib.strategy.signal_strategy",
"kwargs": {
"model": model,
"dataset": dataset,
"signal": (model, dataset),
"topk": 50,
"n_drop": 5,
},