1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-01 10:01:19 +08:00

Update handler.py (#1044)

This commit is contained in:
you-n-g
2022-04-22 09:16:06 +08:00
committed by GitHub
parent d934c8caba
commit caea495f40

View File

@@ -515,7 +515,7 @@ class DataHandlerLP(DataHandler):
# data for learning
# 1) assign
if self.process_type == DataHandlerLP.PTYPE_I:
_learn_df = self._data
_learn_df = _shared_df
elif self.process_type == DataHandlerLP.PTYPE_A:
# based on `infer_df` and append the processor
_learn_df = _infer_df