1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-12 15:26:54 +08:00

Fix ZScoreNorm processor bug (#1398)

* fix_ZScoreNorm_bug

* fix_CI_error

* fix_CI_error

* add_test_processor

* fix_pylint_error

* fix_some_error_and_optimize_code

* modify_terrible_code

* optimize_code

* optimize_code
This commit is contained in:
Linlang
2022-12-30 20:42:37 +08:00
committed by GitHub
parent 667fb0e4d9
commit 756bd0f65b
4 changed files with 105 additions and 20 deletions

View File

@@ -156,7 +156,14 @@ setup(
"baostock",
"yahooquery",
"beautifulsoup4",
"tianshou",
# In version 0.4.11 of tianshou, the code:
# logits, hidden = self.actor(batch.obs, state=state, info=batch.info)
# was changed in PR787,
# which causes pytest errors(AttributeError: 'dict' object has no attribute 'info') in CI,
# so we restricted the version of tianshou.
# References:
# https://github.com/thu-ml/tianshou/releases
"tianshou<=0.4.10",
"gym>=0.24", # If you do not put gym at the end, gym will degrade causing pytest results to fail.
],
"rl": [